From db5021c42eb5828c3fa0fd786b14eafcf9fed52f Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Thu, 30 Apr 2020 12:09:17 +0200 Subject: [PATCH] Avoid warnings about deprecated copy in gcc 10 too --- config/lyxinclude.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/lyxinclude.m4 b/config/lyxinclude.m4 index e3eade8c88..369ecaefbb 100644 --- a/config/lyxinclude.m4 +++ b/config/lyxinclude.m4 @@ -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