From: Jean-Marc Lasgouttes Date: Fri, 20 Nov 2020 13:38:06 +0000 (+0100) Subject: Revert "Limit the -Wall flag to C++ compiler" X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=ff1ab048f10895c5106469c6b63fe78a290402d8;p=features.git Revert "Limit the -Wall flag to C++ compiler" Something is fishy, it breaks compilation. This reverts commit cbc9a901afd1783a30b4d76663208b0c13530a30. --- diff --git a/config/lyxinclude.m4 b/config/lyxinclude.m4 index cf58df7b17..268c501dea 100644 --- a/config/lyxinclude.m4 +++ b/config/lyxinclude.m4 @@ -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++)