[LyX/master] Avoid warnings about deprecated copy in gcc 10 too
Jean-Marc Lasgouttes
lasgouttes at lyx.org
Thu Apr 30 09:48:44 UTC 2020
commit db5021c42eb5828c3fa0fd786b14eafcf9fed52f
Author: Jean-Marc Lasgouttes <lasgouttes at lyx.org>
Date: Thu Apr 30 12:09:17 2020 +0200
Avoid warnings about deprecated copy in gcc 10 too
---
config/lyxinclude.m4 | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/config/lyxinclude.m4 b/config/lyxinclude.m4
index e3eade8..369ecae 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
More information about the lyx-cvs
mailing list