mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-24 18:43:37 +00:00
Revert "Limit the -Wall flag to C++ compiler"
Something is fishy, it breaks compilation.
This reverts commit cbc9a901af
.
This commit is contained in:
parent
a877cdb196
commit
ff1ab048f1
@ -418,7 +418,7 @@ if test x$GXX = xyes; then
|
|||||||
fi
|
fi
|
||||||
dnl Warnings are for preprocessor too
|
dnl Warnings are for preprocessor too
|
||||||
if test x$enable_warnings = xyes ; then
|
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 Shut off warning -Wdeprecated-copy, which triggers too much
|
||||||
dnl note that g++ always accepts -Wno-xxx, even when -Wxxx is an error.
|
dnl note that g++ always accepts -Wno-xxx, even when -Wxxx is an error.
|
||||||
AC_LANG_PUSH(C++)
|
AC_LANG_PUSH(C++)
|
||||||
|
Loading…
Reference in New Issue
Block a user