[hipl-commit] [trunk] Rev 4584: cosmetics: Separate warning flags from error flags for greater readability.

  • From: Diego Biurrun <diego@xxxxxxxxxx>
  • To: hipl-commit@xxxxxxxxxxxxx
  • Date: Mon, 24 May 2010 14:36:24 +0300

Committer: Diego Biurrun <diego@xxxxxxxxxx>
Date: 24/05/2010 at 14:36:24
Revision: 4584
Revision-id: diego@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Branch nick: trunk

Log:
  cosmetics: Separate warning flags from error flags for greater readability.

Modified:
  M  configure.ac

=== modified file 'configure.ac'
--- configure.ac        2010-05-24 11:32:37 +0000
+++ configure.ac        2010-05-24 11:36:02 +0000
@@ -66,11 +66,14 @@
 
 
 # Set default AM_CFLAGS for the complete project.
-AC_SUBST(AM_CFLAGS, "-std=c99 -Wall -Werror -Wno-error=shadow")
+AC_SUBST(AM_CFLAGS, "-std=c99 -Wall -Werror")
 AC_SUBST(AM_CFLAGS, "$AM_CFLAGS -Wredundant-decls -Wdisabled-optimization")
 AC_SUBST(AM_CFLAGS, "$AM_CFLAGS -Wundef -Wstrict-prototypes 
-Wmissing-prototypes")
 AC_SUBST(AM_CFLAGS, "$AM_CFLAGS -Wno-deprecated-declarations -Wpointer-arith")
-AC_SUBST(AM_CFLAGS, "$AM_CFLAGS -Wwrite-strings -Wshadow")
+AC_SUBST(AM_CFLAGS, "$AM_CFLAGS -Wwrite-strings")
+
+# The flags below should be converted into errors once all warnings are fixed.
+AC_SUBST(AM_CFLAGS, "$AM_CFLAGS -Wshadow -Wno-error=shadow")
 AC_SUBST(AM_CFLAGS, "$AM_CFLAGS -Wcast-qual -Wno-error=cast-qual")
 AC_SUBST(AM_CFLAGS, "$AM_CFLAGS -Winline -Wno-error=inline")

Other related posts:

  • » [hipl-commit] [trunk] Rev 4584: cosmetics: Separate warning flags from error flags for greater readability. - Diego Biurrun