[Olsr-cvs] olsrd-current Makefile.inc,1.6,1.7
Bernd Petrovitsch
(spam-protected)
Tue Apr 3 00:44:11 CEST 2007
Update of /cvsroot/olsrd/olsrd-current
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv3545
Modified Files:
Makefile.inc
Log Message:
* added -Werror to motivate to kill warnings
Index: Makefile.inc
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/Makefile.inc,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** Makefile.inc 5 Feb 2007 21:25:49 -0000 1.6
--- Makefile.inc 2 Apr 2007 22:44:09 -0000 1.7
***************
*** 21,27 ****
# add gcc warnings and optimizations if CFLAGS not set
ifndef CFLAGS
! CFLAGS += -Wall -Wmissing-prototypes -Wstrict-prototypes \
! -Wmissing-declarations -Wsign-compare
! CFLAGS += -O2 -g
endif
--- 21,32 ----
# add gcc warnings and optimizations if CFLAGS not set
ifndef CFLAGS
! CFLAGS += -Wall
! CFLAGS += -Wmissing-prototypes
! CFLAGS += -Wstrict-prototypes
! CFLAGS += -Wmissing-declarations
! CFLAGS += -Wsign-compare
! CFLAGS += -O2
! CFLAGS += -g
! CFLAGS += -Werror
endif
More information about the Olsr-cvs
mailing list