1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-12 09:09:09 +00:00

(svn r11323) -Fix: GCC2.95 gave a lot of bogus 'might be uninitialized', so never show them for this compiler

This commit is contained in:
truelight
2007-10-21 10:41:04 +00:00
parent c5acd42ccc
commit 6934188e65

View File

@@ -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