[LyX/master] Avoid warnings about deprecated copy in gcc 10 too
Jean-Marc Lasgouttes
lasgouttes at lyx.org
Thu Apr 30 10:28:18 UTC 2020
Le 30/04/2020 à 11:48, Jean-Marc Lasgouttes a écrit :
> 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
Riki, do you want all the warning-related fixes in branch too?
JMarc
> ---
> 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