diff options
Diffstat (limited to 'Build')
-rwxr-xr-x | Build/source/configure | 8 | ||||
-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 | ||||
-rw-r--r-- | Build/source/m4/ChangeLog | 4 | ||||
-rw-r--r-- | Build/source/m4/kpse-warnings.m4 | 7 | ||||
-rwxr-xr-x | Build/source/texk/bibtexu/configure | 8 | ||||
-rwxr-xr-x | Build/source/texk/dvisvgm/configure | 8 | ||||
-rwxr-xr-x | Build/source/texk/lcdf-typetools/configure | 8 | ||||
-rwxr-xr-x | Build/source/texk/web2c/configure | 16 | ||||
-rwxr-xr-x | Build/source/texk/xdv2pdf/configure | 8 |
12 files changed, 86 insertions, 13 deletions
diff --git a/Build/source/configure b/Build/source/configure index 0776bd842ae..728beddf980 100755 --- a/Build/source/configure +++ b/Build/source/configure @@ -19544,7 +19544,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/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" ;; #( diff --git a/Build/source/m4/ChangeLog b/Build/source/m4/ChangeLog index 4f00f78ca13..6bf15a07fc5 100644 --- a/Build/source/m4/ChangeLog +++ b/Build/source/m4/ChangeLog @@ -1,3 +1,7 @@ +2012-02-23 Peter Breitenlohner <peb@mppmu.mpg.de> + + * kpse-warnings.m4: Drop `-Wimplicit' for g++ >= 4.6. + 2012-01-16 Peter Breitenlohner <peb@mppmu.mpg.de> * kpse-setup.m4 (KPSE_SETUP): Normalize `enable_largefile'. diff --git a/Build/source/m4/kpse-warnings.m4 b/Build/source/m4/kpse-warnings.m4 index 21127cb5466..763e0bb7373 100644 --- a/Build/source/m4/kpse-warnings.m4 +++ b/Build/source/m4/kpse-warnings.m4 @@ -1,5 +1,5 @@ # Public macros for the TeX Live (TL) tree. -# Copyright (C) 2009-2011 Peter Breitenlohner <tex-live@tug.org> +# Copyright (C) 2009-2012 Peter Breitenlohner <tex-live@tug.org> # # This file is free software; the copyright holders # give unlimited permission to copy and/or distribute it, @@ -174,7 +174,10 @@ m4_define([_KPSE_WARNING_GNU_CXXFLAGS], [kpse_cv_warning_$2= kpse_warn_strings="-Wno-write-strings" if test "x$enable_compiler_warnings" != xno; then - kpse_cv_warning_$2="-Wimplicit -Wreturn-type" + kpse_cv_warning_$2="-Wreturn-type" + AS_CASE([`$[]$1 -dumpversion`], + [3.* | 4.@<:@012345@:>@.*], + [kpse_cv_warning_$2="-Wimplicit $kpse_cv_warning_$2"]) AS_CASE([`$[]$1 -dumpversion`], [3.@<:@234@:>@.* | 4.*], [kpse_cv_warning_$2="$kpse_cv_warning_$2 -Wno-unknown-pragmas"]) diff --git a/Build/source/texk/bibtexu/configure b/Build/source/texk/bibtexu/configure index 39e9dcfd270..d81fb5e3f7c 100755 --- a/Build/source/texk/bibtexu/configure +++ b/Build/source/texk/bibtexu/configure @@ -16387,7 +16387,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/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" ;; #( diff --git a/Build/source/texk/lcdf-typetools/configure b/Build/source/texk/lcdf-typetools/configure index 34d611ae11e..c65577f92b9 100755 --- a/Build/source/texk/lcdf-typetools/configure +++ b/Build/source/texk/lcdf-typetools/configure @@ -16745,7 +16745,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/texk/web2c/configure b/Build/source/texk/web2c/configure index faf47c7c9fa..d37f46966b9 100755 --- a/Build/source/texk/web2c/configure +++ b/Build/source/texk/web2c/configure @@ -16908,7 +16908,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" ;; #( @@ -17198,7 +17204,13 @@ else kpse_cv_warning_objcxxflags= kpse_warn_strings="-Wno-write-strings" if test "x$enable_compiler_warnings" != xno; then - kpse_cv_warning_objcxxflags="-Wimplicit -Wreturn-type" + kpse_cv_warning_objcxxflags="-Wreturn-type" + case `$OBJCXX -dumpversion` in #( + 3.* | 4.[012345].*) : + kpse_cv_warning_objcxxflags="-Wimplicit $kpse_cv_warning_objcxxflags" ;; #( + *) : + ;; +esac case `$OBJCXX -dumpversion` in #( 3.[234].* | 4.*) : kpse_cv_warning_objcxxflags="$kpse_cv_warning_objcxxflags -Wno-unknown-pragmas" ;; #( diff --git a/Build/source/texk/xdv2pdf/configure b/Build/source/texk/xdv2pdf/configure index e7d891ec1a3..1bb3563997f 100755 --- a/Build/source/texk/xdv2pdf/configure +++ b/Build/source/texk/xdv2pdf/configure @@ -16344,7 +16344,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" ;; #( |