Revert "Limit the -Wall flag to C++ compiler"

Something is fishy, it breaks compilation.

This reverts commit cbc9a901af.
This commit is contained in:
Jean-Marc Lasgouttes 2020-11-20 14:38:06 +01:00
parent a877cdb196
commit ff1ab048f1

View File

@ -418,7 +418,7 @@ if test x$GXX = xyes; then
fi
dnl Warnings are for preprocessor too
if test x$enable_warnings = xyes ; then
AM_CXXFLAGS="$AM_CPPFLAGS -Wall -Wextra"
AM_CPPFLAGS="$AM_CPPFLAGS -Wall -Wextra"
dnl Shut off warning -Wdeprecated-copy, which triggers too much
dnl note that g++ always accepts -Wno-xxx, even when -Wxxx is an error.
AC_LANG_PUSH(C++)