Browse Source

[2831] set -Wall and -Wextra to detect possible warnings more accurately.

JINMEI Tatuya 12 years ago
parent
commit
d17b3c0067
1 changed files with 1 additions and 1 deletions
  1. 1 1
      m4macros/ax_boost_for_bind10.m4

+ 1 - 1
m4macros/ax_boost_for_bind10.m4

@@ -118,7 +118,7 @@ BOOST_MAPPED_FILE_CXXFLAG=
 CXXFLAGS_SAVED="$CXXFLAGS"
 try_flags="no"
 if test "X$GXX" = "Xyes"; then
-  CXXFLAGS="$CXXFLAGS -Werror"
+  CXXFLAGS="$CXXFLAGS -Wall -Wextra -Werror"
   try_flags="$try_flags -Wno-error"
 fi
 # clang can cause false positives with -Werror without -Qunused-arguments