Remove -Winline from builds with strict warnings; we can't do anything about
the "inlining failed in call to <...>: call is unlikely and code size would grow" warnings, and they're abscuring legitimate problems. git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3508 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user