summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2007-10-21 10:41:04 +0000
committertruelight <truelight@openttd.org>2007-10-21 10:41:04 +0000
commit6934188e657d5524fcb4b6502483c3d6ad8b9130 (patch)
tree767db64c18894992c41e17140a799b85073970cf
parentc5acd42ccc56f4d003b2d19e68a2d331524ad982 (diff)
downloadopenttd-6934188e657d5524fcb4b6502483c3d6ad8b9130.tar.xz
(svn r11323) -Fix: GCC2.95 gave a lot of bogus 'might be uninitialized', so never show them for this compiler
-rw-r--r--config.lib1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.lib b/config.lib
index 177485f04..db9d009e6 100644
--- a/config.lib
+++ b/config.lib
@@ -805,6 +805,7 @@ make_cflags_and_ldflags() {
if [ $cc_version -ge 29 ]; then
CFLAGS="$CFLAGS -Wall -Wno-multichar -Wsign-compare -Wundef"
CFLAGS="$CFLAGS -Wwrite-strings -Wpointer-arith"
+ CFLAGS="$CFLAGS -Wno-uninitialized"
CC_CFLAGS="$CC_CFLAGS -Wstrict-prototypes"
fi