"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
This commit is contained in:
@@ -76,10 +76,13 @@ strictdebug_action() {
|
|||||||
-Winline -Wuninitialized"
|
-Winline -Wuninitialized"
|
||||||
# CFLAGS="$CFLAGS "-Wpointer-arith"
|
# CFLAGS="$CFLAGS "-Wpointer-arith"
|
||||||
# Some standard header won't even compile with this on
|
# Some standard header won't even compile with this on
|
||||||
CFLAGS="$CFLAGS -Wshadow"
|
# CFLAGS="$CFLAGS -Wshadow"
|
||||||
# This gives absurd conflicts with standard files,
|
# This gives absurd conflicts with standard files,
|
||||||
# like from 'y2'
|
# 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 -pedantic-errors -ansi -trigraphs" # ANSI
|
||||||
# CFLAGS="$CFLAGS -Wnested-externs"
|
# CFLAGS="$CFLAGS -Wnested-externs"
|
||||||
# We know they're in the code, and though we'd like to get
|
# We know they're in the code, and though we'd like to get
|
||||||
|
|||||||
Reference in New Issue
Block a user