[hipl-commit] [trunk] Rev 4278: Add -Wmissing-prototypes to CFLAGS.

  • From: Diego Biurrun <diego@xxxxxxxxxx>
  • To: hipl-commit@xxxxxxxxxxxxx
  • Date: Tue, 13 Apr 2010 21:15:46 +0300

Committer: Diego Biurrun <diego@xxxxxxxxxx>
Date: 13/04/2010 at 21:15:46
Revision: 4278
Revision-id: diego@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Branch nick: trunk

Log:
  Add -Wmissing-prototypes to CFLAGS.

Modified:
  M  configure.ac

=== modified file 'configure.ac'
--- configure.ac        2010-04-09 14:51:27 +0000
+++ configure.ac        2010-04-13 18:15:37 +0000
@@ -317,7 +317,7 @@
 fi
 
 # Set default AM_CFLAGS for the complete project.
-AC_SUBST(AM_CFLAGS, "-std=c99 -Werror -Wall -Wredundant-decls 
-Wdisabled-optimization -Wundef -Wstrict-prototypes 
-Wno-deprecated-declarations -fno-strict-aliasing $GPROF_CFLAGS")
+AC_SUBST(AM_CFLAGS, "-std=c99 -Werror -Wall -Wredundant-decls 
-Wdisabled-optimization -Wundef -Wstrict-prototypes -Wmissing-prototypes 
-Wno-deprecated-declarations -fno-strict-aliasing $GPROF_CFLAGS")
 
 # Set the preprocessor flags for the entire project
 AC_SUBST(AM_CPPFLAGS, "-D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=500")

Other related posts:

  • » [hipl-commit] [trunk] Rev 4278: Add -Wmissing-prototypes to CFLAGS. - Diego Biurrun