1
0
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:
Marian Buschsieweke 2020-09-05 22:52:54 +02:00
parent e071098d26
commit 63b54b5e84
No known key found for this signature in database
GPG Key ID: CB8E3238CE715A94

View File

@ -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