[Olsr-cvs] olsrd-current Makefile.inc,1.10,1.11
Bernd Petrovitsch
(spam-protected)
Fri Apr 20 16:05:43 CEST 2007
Update of /cvsroot/olsrd/olsrd-current
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv7021
Modified Files:
Makefile.inc
Log Message:
* added lots of warnings (and -Werror is disabled per default)
Index: Makefile.inc
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/Makefile.inc,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** Makefile.inc 8 Apr 2007 07:06:05 -0000 1.10
--- Makefile.inc 20 Apr 2007 14:05:41 -0000 1.11
***************
*** 22,29 ****
--- 22,41 ----
ifndef CFLAGS
CFLAGS += -Wall
+ CFLAGS += -Wextra
CFLAGS += -Wmissing-prototypes
CFLAGS += -Wstrict-prototypes
CFLAGS += -Wmissing-declarations
CFLAGS += -Wsign-compare
+ CFLAGS += -Waggregate-return
+ CFLAGS += -Wold-style-definition
+ CFLAGS += -Wmissing-noreturn
+ CFLAGS += -Wmissing-format-attribute
+ CFLAGS += -Wno-multichar
+ CFLAGS += -Wno-deprecated-declarations
+ #CFLAGS += -Wredundant-decls
+ CFLAGS += -Wnested-externs
+ #CFLAGS += -Wunreachable-code
+ CFLAGS += -Winline
+ CFLAGS += -Wdisabled-optimization
CFLAGS += -O2
CFLAGS += -g
More information about the Olsr-cvs
mailing list