diff options
Diffstat (limited to 'Build/source/texk/dvisvgm/configure')
-rwxr-xr-x | Build/source/texk/dvisvgm/configure | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Build/source/texk/dvisvgm/configure b/Build/source/texk/dvisvgm/configure index 74d09ae5b6d..df1b950a9aa 100755 --- a/Build/source/texk/dvisvgm/configure +++ b/Build/source/texk/dvisvgm/configure @@ -16444,7 +16444,13 @@ else kpse_cv_warning_cxxflags= kpse_warn_strings="-Wno-write-strings" if test "x$enable_compiler_warnings" != xno; then - kpse_cv_warning_cxxflags="-Wimplicit -Wreturn-type" + kpse_cv_warning_cxxflags="-Wreturn-type" + case `$CXX -dumpversion` in #( + 3.* | 4.[012345].*) : + kpse_cv_warning_cxxflags="-Wimplicit $kpse_cv_warning_cxxflags" ;; #( + *) : + ;; +esac case `$CXX -dumpversion` in #( 3.[234].* | 4.*) : kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags -Wno-unknown-pragmas" ;; #( |