summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authornijtmans <nijtmans>2008-11-06 21:47:36 (GMT)
committernijtmans <nijtmans>2008-11-06 21:47:36 (GMT)
commite2049a58b3ae85b4fdd0e585a75194984bbf6232 (patch)
treedd5eb1c1e95b7ae605ae2dd7c86214a6b966d2d3 /win
parentdf2152c1d6f0dc3b0e0aa8de8c0e1cd2730ea6d5 (diff)
downloadtcl-e2049a58b3ae85b4fdd0e585a75194984bbf6232.zip
tcl-e2049a58b3ae85b4fdd0e585a75194984bbf6232.tar.gz
tcl-e2049a58b3ae85b4fdd0e585a75194984bbf6232.tar.bz2
add "-Wno-implicit-int" for gcc, as on UNIX
eliminate an 'array index out of bounds' warning on HP-UX'
Diffstat (limited to 'win')
-rwxr-xr-xwin/configure2
-rw-r--r--win/tcl.m42
2 files changed, 2 insertions, 2 deletions
diff --git a/win/configure b/win/configure
index 54c8274..d627b5e 100755
--- a/win/configure
+++ b/win/configure
@@ -3886,7 +3886,7 @@ echo "$as_me: error: ${CC} does not support the -shared option.
CFLAGS_DEBUG=-g
CFLAGS_OPTIMIZE="-O2 -fomit-frame-pointer"
- CFLAGS_WARNING="-Wall"
+ CFLAGS_WARNING="-Wall -Wno-implicit-int"
LDFLAGS_DEBUG=
LDFLAGS_OPTIMIZE=
diff --git a/win/tcl.m4 b/win/tcl.m4
index 1a46527..f76fbf8 100644
--- a/win/tcl.m4
+++ b/win/tcl.m4
@@ -529,7 +529,7 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
CFLAGS_DEBUG=-g
CFLAGS_OPTIMIZE="-O2 -fomit-frame-pointer"
- CFLAGS_WARNING="-Wall"
+ CFLAGS_WARNING="-Wall -Wno-implicit-int"
LDFLAGS_DEBUG=
LDFLAGS_OPTIMIZE=