[pisa-src] r1500 - trunk/configure.ac

  • From: Diego Biurrun <diego@xxxxxxxxxx>
  • To: pisa-src@xxxxxxxxxxxxx
  • Date: Mon, 02 Nov 2009 20:04:33 +0100

Author: biurrun
Date: Mon Nov  2 20:04:33 2009
New Revision: 1500

Log:
Add -Wshadow to compiler warning flags.

Modified:
   trunk/configure.ac

Modified: trunk/configure.ac
==============================================================================
--- trunk/configure.ac  Mon Nov  2 19:59:23 2009        (r1499)
+++ trunk/configure.ac  Mon Nov  2 20:04:33 2009        (r1500)
@@ -122,8 +122,8 @@
 fi
 
 # Set default CFLAGS for the complete project.
-AC_SUBST(CFLAGS, "$CFLAGS -g -O2 -Wall -Wextra -Wredundant-decls 
-Wstrict-prototypes -Wdisabled-optimization -Wpointer-arith -Wundef -Winline 
-Wno-deprecated-declarations -Wmissing-prototypes -Wwrite-strings -Wcast-qual")
-#AC_SUBST(CFLAGS, "$CFLAGS -g -O2 -Wall -Wextra -Wredundant-decls 
-Wstrict-prototypes -Wdisabled-optimization -Wpointer-arith -Wundef -Winline 
-Wno-deprecated-declarations -Wmissing-prototypes -Wwrite-strings -Wcast-qual 
-Wtype-limits")
+AC_SUBST(CFLAGS, "$CFLAGS -g -O2 -Wall -Wextra -Wredundant-decls 
-Wstrict-prototypes -Wdisabled-optimization -Wpointer-arith -Wundef -Winline 
-Wno-deprecated-declarations -Wmissing-prototypes -Wwrite-strings -Wcast-qual 
-Wshadow")
+#AC_SUBST(CFLAGS, "$CFLAGS -g -O2 -Wall -Wextra -Wredundant-decls 
-Wstrict-prototypes -Wdisabled-optimization -Wpointer-arith -Wundef -Winline 
-Wno-deprecated-declarations -Wmissing-prototypes -Wwrite-strings -Wcast-qual 
-Wshadow -Wtype-limits")
 
 if test -d "$PISA_HIPL_SRCDIR"; then
        AC_DEFINE(CONFIG_PISA_WITH_HIPL, AC_PREREQ(2.53))

Other related posts:

  • » [pisa-src] r1500 - trunk/configure.ac - Diego Biurrun