]> git.saurik.com Git - bison.git/blobdiff - configure.ac
c++: use nullptr for C++11.
[bison.git] / configure.ac
index 78f641d3c1fa9ae4ce674444bb979a44fd5ecb92..210002b21c29c61d57c681e6099f546dc4057048 100644 (file)
@@ -70,7 +70,7 @@ if test "$enable_gcc_warnings" = yes; then
     -Wcast-qual -Wformat -Wpointer-arith -Wwrite-strings'
   warn_c='-Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes
     -Wshadow -Wstrict-prototypes'
-  warn_cxx=''
+  warn_cxx='-Wnoexcept -Wzero-as-null-pointer-constant'
   AC_LANG_PUSH([C])
   for i in $warn_common $warn_c;
   do