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.
This commit is contained in:
parent
f4710f6f86
commit
9299735c75
72 changed files with 82 additions and 16 deletions
|
@ -215,6 +215,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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue