mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
Re-enable -fno-strict-aliasing because apparently many versions of GCC across many platforms are still producing warning spew without it
git-svn-id: https://svn.eduke32.com/eduke32@7297 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
a24c720e11
commit
caf2a8c9c9
2 changed files with 3 additions and 11 deletions
|
@ -691,7 +691,7 @@ ifneq (0,$(KRANDDEBUG))
|
|||
COMMONFLAGS += -fno-inline -fno-inline-functions -fno-inline-functions-called-once
|
||||
endif
|
||||
|
||||
COMMONFLAGS += -fno-threadsafe-statics $(F_JUMP_TABLES) $(F_NO_STACK_PROTECTOR) $(F_NO_STRICT_ALIASING)
|
||||
COMMONFLAGS += -fno-strict-aliasing -fno-threadsafe-statics $(F_JUMP_TABLES) $(F_NO_STACK_PROTECTOR)
|
||||
|
||||
|
||||
##### Warnings
|
||||
|
|
|
@ -129,14 +129,6 @@
|
|||
# define inline __inline
|
||||
#endif
|
||||
|
||||
#ifndef MAY_ALIAS
|
||||
# ifdef _MSC_VER
|
||||
# define MAY_ALIAS
|
||||
# else
|
||||
# define MAY_ALIAS __attribute__((may_alias))
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifndef FORCE_INLINE
|
||||
# ifdef _MSC_VER
|
||||
# define FORCE_INLINE __forceinline
|
||||
|
@ -791,7 +783,7 @@ typedef reg_t unative_t;
|
|||
#endif
|
||||
EDUKE32_STATIC_ASSERT(sizeof(native_t) == sizeof(unative_t));
|
||||
|
||||
typedef struct MAY_ALIAS {
|
||||
typedef struct {
|
||||
int32_t x, y;
|
||||
} vec2_t;
|
||||
|
||||
|
@ -803,7 +795,7 @@ typedef struct {
|
|||
uint32_t x, y;
|
||||
} vec2u_t;
|
||||
|
||||
typedef struct MAY_ALIAS {
|
||||
typedef struct {
|
||||
int32_t x, y, z;
|
||||
} vec3_t;
|
||||
|
||||
|
|
Loading…
Reference in a new issue