mirror of https://gitlab.com/rnger/amath
pragma clean up
This commit is contained in:
parent
c90f3e1067
commit
8eee2e99cc
|
@ -0,0 +1,6 @@
|
|||
*.kdev4
|
||||
*.o
|
||||
*.a
|
||||
amath
|
||||
amath-test
|
||||
catalog/flexcat
|
|
@ -27,7 +27,7 @@
|
|||
#ifndef _NUMBER_H
|
||||
#define _NUMBER_H
|
||||
|
||||
#if defined(__GNUC__) && !defined(AOS3)
|
||||
#if __GNUC__ > 2
|
||||
#pragma GCC diagnostic ignored "-Wshadow"
|
||||
#endif
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
#include "clib.h"
|
||||
#include "main/token.h"
|
||||
|
||||
#if defined(__GNUC__) && !defined(AOS3)
|
||||
#if __GNUC__ > 2
|
||||
#pragma GCC diagnostic ignored "-Wshadow"
|
||||
#endif
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
#include "clib.h"
|
||||
|
||||
#if defined(__GNUC__) && !defined(AOS3)
|
||||
#if __GNUC__ > 2
|
||||
#pragma GCC diagnostic ignored "-Wcast-align"
|
||||
#endif
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
|
||||
#include "clib.h"
|
||||
|
||||
#if defined(__GNUC__) && !defined(AOS3)
|
||||
#if __GNUC__ > 2
|
||||
#pragma GCC diagnostic ignored "-Wcast-align"
|
||||
#endif
|
||||
|
||||
|
|
|
@ -82,16 +82,6 @@
|
|||
# include <stdlib.h>
|
||||
#endif
|
||||
|
||||
/* GCC 2.95 */
|
||||
#if (__GNUC__ == 2 && __GNUC_MINOR__ == 95)
|
||||
# include <sys/types.h>
|
||||
typedef u_int8_t uint8_t;
|
||||
typedef u_int16_t uint16_t;
|
||||
typedef u_int32_t uint32_t;
|
||||
typedef u_int64_t uint64_t;
|
||||
# define IPTR LONG
|
||||
#endif
|
||||
|
||||
/* GCC 4.x & AROS API */
|
||||
#ifdef AROS
|
||||
# include <stdint.h>
|
||||
|
@ -107,4 +97,14 @@ typedef u_int64_t uint64_t;
|
|||
# error Includedes must be defined for Amiga OS 4+
|
||||
#endif
|
||||
|
||||
/* GCC 2.95 */
|
||||
#if (__GNUC__ == 2 && __GNUC_MINOR__ == 95)
|
||||
# include <sys/types.h>
|
||||
typedef u_int8_t uint8_t;
|
||||
typedef u_int16_t uint16_t;
|
||||
typedef u_int32_t uint32_t;
|
||||
typedef u_int64_t uint64_t;
|
||||
# define IPTR LONG
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
#include "prim.h"
|
||||
#include "math.h"
|
||||
|
||||
#if defined(__GNUC__) && !defined(AOS3)
|
||||
#if __GNUC__ > 2
|
||||
#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
|
||||
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
|
||||
#endif
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
#include "prim.h"
|
||||
#include "math.h"
|
||||
|
||||
#if defined(__GNUC__) && !defined(AOS3)
|
||||
#if __GNUC__ > 2
|
||||
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue