]> git.lyx.org Git - lyx.git/commitdiff
Avoid warnings about deprecated copy in gcc 10 too
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 30 Apr 2020 10:09:17 +0000 (12:09 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 30 Apr 2020 10:09:17 +0000 (12:09 +0200)
config/lyxinclude.m4

index e3eade8c88552eee405a13a8c80ed09ee55675cc..369ecaefbb8e2fda55bede36284a3668b9983ea5 100644 (file)
@@ -410,7 +410,7 @@ if test x$GXX = xyes; then
   if test x$enable_warnings = xyes ; then
       AM_CPPFLAGS="$AM_CPPFLAGS -Wall -Wextra"
       case $gxx_version in
-         9.*|clang-10*)
+         9.*|10.*|clang-10*)
              AM_CXXFLAGS="$AM_CXXFLAGS -Wno-deprecated-copy";;
          *);;
       esac