From 9299735c75ba99347c7280b2e73064bef693989f Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Thu, 15 Jul 2010 17:13:33 +0000 Subject: Disable strict aliasing explicitly in the project makefiles, as this is apparently enabled by default in newer AVR-GCC builds, and aliasing is used heavily for type-punning through the LUFA and third party library's codebase. --- Demos/Device/LowLevel/RNDISEthernet/makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'Demos/Device/LowLevel/RNDISEthernet/makefile') diff --git a/Demos/Device/LowLevel/RNDISEthernet/makefile b/Demos/Device/LowLevel/RNDISEthernet/makefile index 883e8a514..f44e60a49 100644 --- a/Demos/Device/LowLevel/RNDISEthernet/makefile +++ b/Demos/Device/LowLevel/RNDISEthernet/makefile @@ -226,6 +226,7 @@ CFLAGS += -ffunction-sections CFLAGS += -fno-inline-small-functions CFLAGS += -fpack-struct CFLAGS += -fshort-enums +CFLAGS += -fno-strict-aliasing CFLAGS += -Wall CFLAGS += -Wstrict-prototypes CFLAGS += -Wundef -- cgit v1.2.3