diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2012-02-23 14:04:14 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2012-02-23 14:04:14 +0000 |
commit | 97e502dc16d9f2ed6038360b047c60206df4ca72 (patch) | |
tree | 8efc0913e7c5df51b5c4dba787b5c586869a0075 /Build/source/libs | |
parent | 9fbfe507d0f9d90df2880e61eb4e5280206ae6b9 (diff) |
build system: GCC >= 4.6 warnings
git-svn-id: svn://tug.org/texlive/trunk@25483 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs')
-rwxr-xr-x | Build/source/libs/graphite/configure | 8 | ||||
-rwxr-xr-x | Build/source/libs/poppler/configure | 8 | ||||
-rwxr-xr-x | Build/source/libs/teckit/configure | 8 | ||||
-rwxr-xr-x | Build/source/libs/xpdf/configure | 8 |
4 files changed, 28 insertions, 4 deletions
diff --git a/Build/source/libs/graphite/configure b/Build/source/libs/graphite/configure index f86f3aa9e73..5201c608c5b 100755 --- a/Build/source/libs/graphite/configure +++ b/Build/source/libs/graphite/configure @@ -4477,7 +4477,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" ;; #( diff --git a/Build/source/libs/poppler/configure b/Build/source/libs/poppler/configure index b268220c4f6..de0a45fc3aa 100755 --- a/Build/source/libs/poppler/configure +++ b/Build/source/libs/poppler/configure @@ -4277,7 +4277,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" ;; #( diff --git a/Build/source/libs/teckit/configure b/Build/source/libs/teckit/configure index 69ac4acaeba..fb2670de491 100755 --- a/Build/source/libs/teckit/configure +++ b/Build/source/libs/teckit/configure @@ -4509,7 +4509,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" ;; #( diff --git a/Build/source/libs/xpdf/configure b/Build/source/libs/xpdf/configure index b479803ce6d..b9b8e969b76 100755 --- a/Build/source/libs/xpdf/configure +++ b/Build/source/libs/xpdf/configure @@ -4258,7 +4258,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" ;; #( |