mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-25 13:31:37 +00:00
turn on more warnings
add -Werror
This commit is contained in:
parent
9a8004c177
commit
2b4ead0efe
@ -32,7 +32,7 @@ CPPFLAGS := $(DBGFLAGS) $(OPTFLAGS) $(RELFLAGS) \
|
|||||||
-fno-builtin -ffreestanding -nostdinc -isystem \
|
-fno-builtin -ffreestanding -nostdinc -isystem \
|
||||||
$(gccincdir) -pipe $(PLATFORM_CPPFLAGS)
|
$(gccincdir) -pipe $(PLATFORM_CPPFLAGS)
|
||||||
|
|
||||||
CFLAGS := $(CPPFLAGS) -Wall -Wstrict-prototypes -Wcast-align -Wcast-align
|
CFLAGS := $(CPPFLAGS) -Wall -Wstrict-prototypes -Wcast-align -Wcast-align -Wextra -Werror
|
||||||
|
|
||||||
AFLAGS_DEBUG := -Wa,-gstabs
|
AFLAGS_DEBUG := -Wa,-gstabs
|
||||||
AFLAGS := $(AFLAGS_DEBUG) -D__ASSEMBLY__ $(CPPFLAGS)
|
AFLAGS := $(AFLAGS_DEBUG) -D__ASSEMBLY__ $(CPPFLAGS)
|
||||||
|
Loading…
Reference in New Issue
Block a user