Avoid warnings about deprecated copy in gcc 10 too

This commit is contained in:
Jean-Marc Lasgouttes 2020-04-30 12:09:17 +02:00
parent 7035e230ca
commit db5021c42e

View 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