[hipl-commit] [trunk] Rev 4742: Add the extra warnings to the compiler flags.

  • From: Mircea Gherzan <mircea.gherzan@xxxxxxxxxxxxxx>
  • To: hipl-commit@xxxxxxxxxxxxx
  • Date: Wed, 9 Jun 2010 16:44:20 +0300

Committer: Mircea Gherzan <mircea.gherzan@xxxxxxxxxxxxxx>
Date: 09/06/2010 at 16:44:20
Revision: 4742
Revision-id: mircea.gherzan@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Branch nick: trunk

Log:
  Add the extra warnings to the compiler flags.

Modified:
  M  configure.ac

=== modified file 'configure.ac'
--- configure.ac        2010-05-30 16:40:02 +0000
+++ configure.ac        2010-06-09 13:43:54 +0000
@@ -69,7 +69,7 @@
                            [comma-separated list of disabled modules]))
 
 # Set default AM_CFLAGS for the complete project.
-AC_SUBST(AM_CFLAGS, "-std=c99 -Wall -Werror")
+AC_SUBST(AM_CFLAGS, "-std=c99 -Wall -Wextra -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")

Other related posts:

  • » [hipl-commit] [trunk] Rev 4742: Add the extra warnings to the compiler flags. - Mircea Gherzan