summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authornijtmans <nijtmans>2008-11-06 22:19:00 (GMT)
committernijtmans <nijtmans>2008-11-06 22:19:00 (GMT)
commit4f2679372f637fcd2f0d997b9d97165a6b558f12 (patch)
tree6d4765a975db9a0efdc9cda302ca45bef48fcfbc /win
parent934b87aae13eb0d87cfccfd5f134ac36b8027d8f (diff)
downloadtk-4f2679372f637fcd2f0d997b9d97165a6b558f12.zip
tk-4f2679372f637fcd2f0d997b9d97165a6b558f12.tar.gz
tk-4f2679372f637fcd2f0d997b9d97165a6b558f12.tar.bz2
add "-Wno-implicit-int" flag for gcc, as on UNIX
Use tkUnixDefault.h under CygWin. With this change, at least the X11 version of Tk can be built with cygwin
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 997d6d2..54027b8 100755
--- a/win/configure
+++ b/win/configure
@@ -2819,7 +2819,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 59b51c9..3447eb9 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=