mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
makefiles/cflags.inc.mk: Add -Wcast-align
This commit is contained in:
parent
e071098d26
commit
63b54b5e84
@ -70,6 +70,9 @@ OPTIONAL_CFLAGS += -Wformat=2
|
||||
OPTIONAL_CFLAGS += -Wformat-overflow
|
||||
OPTIONAL_CFLAGS += -Wformat-truncation
|
||||
|
||||
# Warn about casts that increase alignment requirements
|
||||
OPTIONAL_CFLAGS += -Wcast-align
|
||||
|
||||
# Warn if a user-supplied include directory does not exist.
|
||||
CFLAGS += -Wmissing-include-dirs
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user