diff options
Diffstat (limited to 'Build/source/texk/devnag/configure')
-rwxr-xr-x | Build/source/texk/devnag/configure | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Build/source/texk/devnag/configure b/Build/source/texk/devnag/configure index ede86dcb44e..53b41ae09ec 100755 --- a/Build/source/texk/devnag/configure +++ b/Build/source/texk/devnag/configure @@ -3493,7 +3493,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" ;; #( @@ -3507,10 +3507,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.*) : |