diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-06-19 14:29:23 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-06-19 14:29:23 +0000 |
commit | e4add5c328fd8ff92767526464ce3643ec402a01 (patch) | |
tree | 703ace29946f0a32854808d81e8e6c16f653d366 /Build/source/texk/dvipos | |
parent | 3140bf500118573f645f3804cc743ce269945e5b (diff) |
compiler warnings:
do not warn for unknown pragmas
enable in libs/libpng/
enable in libs/teckit/
enable in libs/graphite/
in libs/freetype/: add -fno-strict-aliasing to CFLAGS
regenerate
git-svn-id: svn://tug.org/texlive/trunk@13833 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipos')
-rwxr-xr-x | Build/source/texk/dvipos/configure | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Build/source/texk/dvipos/configure b/Build/source/texk/dvipos/configure index ea54c0373d1..f3cef974b7e 100755 --- a/Build/source/texk/dvipos/configure +++ b/Build/source/texk/dvipos/configure @@ -12912,6 +12912,10 @@ elif test "x$GCC" = xyes; then 3.4.* | 4.*) kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wdeclaration-after-statement" ;; esac + case `$CC -dumpversion` in + 3.[234].* | 4.*) kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wno-unknown-pragmas" ;; +esac + if test "x$enable_compiler_warnings" != xmin; then kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wmissing-prototypes -Wmissing-declarations" if test "x$enable_compiler_warnings" != xyes; then |