From a7f4654e3b07046728039922159f44db0ccb2b96 Mon Sep 17 00:00:00 2001 From: mcmartin Date: Mon, 3 Mar 2003 02:04:02 +0000 Subject: [PATCH] "most strict" checking is less so, since -Wshadow is silly and -Werror isn't usable yet git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@844 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/build/unix/build.config | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/sc2/build/unix/build.config b/sc2/build/unix/build.config index c637f4825..038072984 100644 --- a/sc2/build/unix/build.config +++ b/sc2/build/unix/build.config @@ -76,10 +76,13 @@ strictdebug_action() { -Winline -Wuninitialized" # CFLAGS="$CFLAGS "-Wpointer-arith" # Some standard header won't even compile with this on - CFLAGS="$CFLAGS -Wshadow" +# CFLAGS="$CFLAGS -Wshadow" # This gives absurd conflicts with standard files, # like from 'y2' - CFLAGS="$CFLAGS -Werror" +# CFLAGS="$CFLAGS -Werror" + # We shouldn't do this until we actually nail them + # all in the original code. Then we can enforce them + # on ourselves. # CFLAGS="$CFLAGS -pedantic-errors -ansi -trigraphs" # ANSI # CFLAGS="$CFLAGS -Wnested-externs" # We know they're in the code, and though we'd like to get