diff options
author | nijtmans <nijtmans> | 2008-11-06 22:19:00 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2008-11-06 22:19:00 (GMT) |
commit | 4f2679372f637fcd2f0d997b9d97165a6b558f12 (patch) | |
tree | 6d4765a975db9a0efdc9cda302ca45bef48fcfbc /win | |
parent | 934b87aae13eb0d87cfccfd5f134ac36b8027d8f (diff) | |
download | tk-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-x | win/configure | 2 | ||||
-rw-r--r-- | win/tcl.m4 | 2 |
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= @@ -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= |