summaryrefslogtreecommitdiff
path: root/Build/source/texk/dtl
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2010-02-02 10:54:09 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2010-02-02 10:54:09 +0000
commit0389b5324fc851a32e84698a3a22c2b5254c8efd (patch)
tree47fa24111ccb773fa957b5494551dfa8eac1bbe5 /Build/source/texk/dtl
parent2db2385dc39fb49d9b21a5b7e2eca05572baaee0 (diff)
build system: reduce default compiler warnings
git-svn-id: svn://tug.org/texlive/trunk@16900 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dtl')
-rwxr-xr-xBuild/source/texk/dtl/configure6
1 files changed, 3 insertions, 3 deletions
diff --git a/Build/source/texk/dtl/configure b/Build/source/texk/dtl/configure
index 1e7dbf74683..b0076ed9bcd 100755
--- a/Build/source/texk/dtl/configure
+++ b/Build/source/texk/dtl/configure
@@ -11518,7 +11518,7 @@ else
if test "x$enable_compiler_warnings" = xno; then
kpse_cv_warning_cflags=
elif test "x$GCC" = xyes; then
- kpse_cv_warning_cflags="-Wall -Wunused"
+ kpse_cv_warning_cflags="-Wimplicit -Wreturn-type"
case `$CC -dumpversion` in #(
3.4.* | 4.*) :
kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wdeclaration-after-statement" ;; #(
@@ -11532,10 +11532,10 @@ case `$CC -dumpversion` in #(
;;
esac
if test "x$enable_compiler_warnings" != xmin; then
+ kpse_cv_warning_cflags="-Wall -Wunused -Wimplicit $kpse_cv_warning_cflags"
kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wmissing-prototypes -Wmissing-declarations"
if test "x$enable_compiler_warnings" != xyes; then
- kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wimplicit -Wparentheses -Wreturn-type"
- kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wswitch -Wtrigraphs -Wpointer-arith"
+ kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith"
kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wcast-qual -Wcast-align -Wwrite-strings"
case `$CC -dumpversion` in #(
3.4.* | 4.*) :