svn commit: samba r18463 - in branches/SAMBA_4_0/source/lib/replace: .

metze at samba.org metze at samba.org
Wed Sep 13 11:39:40 GMT 2006


Author: metze
Date: 2006-09-13 11:39:40 +0000 (Wed, 13 Sep 2006)
New Revision: 18463

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=18463

Log:
add some more warning flags, tested with gcc 2.95.3 on SuSE 7.3

metze
Modified:
   branches/SAMBA_4_0/source/lib/replace/configure.ac


Changeset:
Modified: branches/SAMBA_4_0/source/lib/replace/configure.ac
===================================================================
--- branches/SAMBA_4_0/source/lib/replace/configure.ac	2006-09-13 11:08:50 UTC (rev 18462)
+++ branches/SAMBA_4_0/source/lib/replace/configure.ac	2006-09-13 11:39:40 UTC (rev 18463)
@@ -6,7 +6,17 @@
 m4_include(libreplace.m4)
 
 if test "$ac_cv_prog_gcc" = yes; then
-   CFLAGS="$CFLAGS -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings"
+   CFLAGS="$CFLAGS -Wall"
+   CFLAGS="$CFLAGS -W"
+   CFLAGS="$CFLAGS -Wshadow"
+   CFLAGS="$CFLAGS -Wstrict-prototypes"
+   CFLAGS="$CFLAGS -Wpointer-arith"
+   CFLAGS="$CFLAGS -Wcast-qual"
+   CFLAGS="$CFLAGS -Wcast-align"
+   CFLAGS="$CFLAGS -Wwrite-strings"
+   CFLAGS="$CFLAGS -Werror-implicit-function-declaration"
+   CFLAGS="$CFLAGS -Wformat=2"
+   CFLAGS="$CFLAGS -Wno-format-y2k"
 fi
 
 AC_OUTPUT(Makefile)



More information about the samba-cvs mailing list