enable -pedantic gcc flag
authorMatthias Braun <matze@braunis.de>
Mon, 17 Dec 2012 12:22:55 +0000 (13:22 +0100)
committerMatthias Braun <matze@braunis.de>
Wed, 19 Dec 2012 15:19:45 +0000 (16:19 +0100)
Makefile

index c015777..3ee81c2 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -26,7 +26,7 @@ endif
 CPPFLAGS  = -I.
 CPPFLAGS += $(FIRM_CPPFLAGS)
 
-CFLAGS += -Wall -W -Wstrict-prototypes -Wmissing-prototypes -std=c99
+CFLAGS += -Wall -W -Wstrict-prototypes -Wmissing-prototypes -std=c99 -pedantic
 CFLAGS_debug    = -O0 -g
 CFLAGS_optimize = -O3 -fomit-frame-pointer -DNDEBUG
 CFLAGS_profile  = -pg -O3 -fno-inline