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)
commit1f5d1ca2f0758b6b5bdb262b9c1bda0832b585bd (patch)
tree6d4765a975db9a0efdc9cda302ca45bef48fcfbc /win
parent1418b2b3846358cb3a0ce1332a4bb5f9a5f84b9e (diff)
downloadtk-1f5d1ca2f0758b6b5bdb262b9c1bda0832b585bd.zip
tk-1f5d1ca2f0758b6b5bdb262b9c1bda0832b585bd.tar.gz
tk-1f5d1ca2f0758b6b5bdb262b9c1bda0832b585bd.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=