mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 19:07:45 +00:00
Autotools: restore deprecation warning
-Wno-deprecated-declarations was added at 314a121c
.
This commit is contained in:
parent
557975a8de
commit
a73f2e6eb6
@ -373,12 +373,7 @@ if test x$GXX = xyes; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
LYX_CXX_CXX11
|
LYX_CXX_CXX11
|
||||||
if test $lyx_use_cxx11 = yes; then
|
if test $lyx_use_cxx11 = no; then
|
||||||
if test x$GXX = xyes; then
|
|
||||||
dnl We still use auto_ptr, which is obsoleted. Shut off the warnings.
|
|
||||||
AM_CXXFLAGS="$AM_CXXFLAGS -Wno-deprecated-declarations"
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
AC_ERROR([A C++11 compatible compiler is required])
|
AC_ERROR([A C++11 compatible compiler is required])
|
||||||
fi
|
fi
|
||||||
LYX_CXX_USE_REGEX([$cxx11_flags])
|
LYX_CXX_USE_REGEX([$cxx11_flags])
|
||||||
|
Loading…
Reference in New Issue
Block a user