[hipl-commit] [trunk] Rev 4553: Re-enable -Werror with the exception of shadowing warnings.

  • From: Mircea Gherzan <mircea.gherzan@xxxxxxxxxxxxxx>
  • To: hipl-commit@xxxxxxxxxxxxx
  • Date: Tue, 18 May 2010 11:37:59 +0300

Committer: Mircea Gherzan <mircea.gherzan@xxxxxxxxxxxxxx>
Date: 18/05/2010 at 11:37:59
Revision: 4553
Revision-id: mircea.gherzan@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Branch nick: trunk

Log:
  Re-enable -Werror with the exception of shadowing warnings.

Modified:
  M  configure.ac

=== modified file 'configure.ac'
--- configure.ac        2010-05-17 22:05:16 +0000
+++ configure.ac        2010-05-18 08:33:28 +0000
@@ -66,7 +66,7 @@
 
 
 # Set default AM_CFLAGS for the complete project.
-AC_SUBST(AM_CFLAGS, "-std=c99 -Wall")
+AC_SUBST(AM_CFLAGS, "-std=c99 -Wall -Werror -Wno-error=shadow")
 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")

Other related posts:

  • » [hipl-commit] [trunk] Rev 4553: Re-enable -Werror with the exception of shadowing warnings. - Mircea Gherzan