mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Disable warning for deprecated functions in autoconf builds
This gets rid in particular of warnings on auto_ptr. This flag should be removed when 2.3 development start and we switch to unique_ptr.
This commit is contained in:
parent
5e0e676530
commit
a0b9b9b678
@ -298,7 +298,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_CPPFLAGS="$AM_CPPFLAGS -Wall -Wextra -Wno-deprecated-declarations"
|
||||
fi
|
||||
case $gxx_version in
|
||||
2.*|3.*) AC_ERROR([gcc 4.x is required]);;
|
||||
|
Loading…
Reference in New Issue
Block a user