summaryrefslogtreecommitdiffstats
path: root/win/tcl.m4
diff options
context:
space:
mode:
authornijtmans <nijtmans>2009-08-02 21:40:16 (GMT)
committernijtmans <nijtmans>2009-08-02 21:40:16 (GMT)
commit08a5c69704132511cb35781483e60ef2e5e534f7 (patch)
tree7a1b6fcc8666e39d05f77ebe57d7307be060e470 /win/tcl.m4
parentf52a66c46958afc32b7e66a2cf5f8861d6b241f4 (diff)
downloadtk-08a5c69704132511cb35781483e60ef2e5e534f7.zip
tk-08a5c69704132511cb35781483e60ef2e5e534f7.tar.gz
tk-08a5c69704132511cb35781483e60ef2e5e534f7.tar.bz2
eliminate various gcc and msvc compiler warnings
Diffstat (limited to 'win/tcl.m4')
-rw-r--r--win/tcl.m43
1 files changed, 3 insertions, 0 deletions
diff --git a/win/tcl.m4 b/win/tcl.m4
index d2ed530..4b55dc4 100644
--- a/win/tcl.m4
+++ b/win/tcl.m4
@@ -751,6 +751,9 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
MAKE_EXE="\${CC} -Fe\[$]@"
LIBPREFIX=""
+ CFLAGS_DEBUG="${CFLAGS_DEBUG} -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE"
+ CFLAGS_OPTIMIZE="${CFLAGS_OPTIMIZE} -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE"
+
EXTRA_CFLAGS=""
CFLAGS_WARNING="-W3"
LDFLAGS_DEBUG="-debug:full"