mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Limit the -Wall flag to C++ compiler
This avoids tons of warning when compiling code, like libiconv, which is not prepared to this kind of scrutiny of its code quality...
This commit is contained in:
parent
b5d1f2f300
commit
cbc9a901af
@ -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_CPPFLAGS="$AM_CPPFLAGS -Wall -Wextra"
|
||||
AM_CXXFLAGS="$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++)
|
||||
|
Loading…
Reference in New Issue
Block a user