fi
dnl Warnings are for preprocessor too
if test x$enable_warnings = xyes ; then
+ AM_CPPFLAGS="$AM_CPPFLAGS -Wall -Wextra"
case $gxx_version in
- 9.*) AM_CPPFLAGS="$AM_CPPFLAGS -Wall -Wextra -Wno-deprecated-copy";;
- *) AM_CPPFLAGS="$AM_CPPFLAGS -Wall -Wextra";;
+ 9.*|10.*|clang-10*)
+ AM_CXXFLAGS="$AM_CXXFLAGS -Wno-deprecated-copy";;
+ *);;
esac
fi
case $gxx_version in
- Download dictionary and thesaurus files, on Windows, from our SVN repo (bug 11192).
+- Avoid many warnings with g++ 10 and clang++ 10.