diff --git a/sc2/build/unix/build.config b/sc2/build/unix/build.config index ce2d077ee..aaf65834c 100644 --- a/sc2/build/unix/build.config +++ b/sc2/build/unix/build.config @@ -157,7 +157,7 @@ uqm_prepare_config() -Wwrite-strings -Wimplicit -Wreturn-type -Wformat \ -Wswitch -Wcomment -Wchar-subscripts \ -Wparentheses -Wcast-align \ - -Winline -Wuninitialized" + -Wuninitialized" # CFLAGS="$CFLAGS -Waggregate-return" # It's not unreasonable to return structs at times. # CFLAGS="$CFLAGS "-Wpointer-arith" @@ -171,8 +171,11 @@ uqm_prepare_config() # 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 - # rid of them, they're not bugs. + # We know they're in the code, and though we'd like to + # get rid of them, they're not bugs. +# CFLAGS="$CFLAGS -Winline" + # This gives too many warnings which we can do nothing + # about, obscuring legitimate warnings. CFLAGS=`echo $CFLAGS` # Remove all the unnecessary spaces from $CFLAGS, # for more readable messages.