Tcl Source Code

Check-in [9480d59af8]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Revert defining _HAVE_32BIT_TIME_T especially for mingw-4.0-rc1: Although it works, it has the side-effect that tcl8?.dll depends on msvcrt.dll symbols which are only available in later versions of msvcrt.dll. This is undesired, it really should be fixed in the mingw headers.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | core-8-4-branch
Files: files | file ages | folders
SHA1: 9480d59af86b37a2c0b6d80f5891e7b90f71cd69
User & Date: jan.nijtmans 2013-05-17 07:14:13
Context
2013-05-17
15:08
- eliminate compiler warning when compiling with Visual Studio. - Make sure that _ftime() from msvcr... check-in: 62fbe65d17 user: jan.nijtmans tags: core-8-4-branch
07:21
Revert defining _HAVE_32BIT_TIME_T especially for mingw-4.0-rc1: Although it works, it has the side-... check-in: 55a95054aa user: jan.nijtmans tags: core-8-5-branch
07:14
Revert defining _HAVE_32BIT_TIME_T especially for mingw-4.0-rc1: Although it works, it has the side-... check-in: 9480d59af8 user: jan.nijtmans tags: core-8-4-branch
2013-05-16
08:20
Add support for the latest mingw-4.0-rc1. See: [http://sourceforge.net/p/mingw/mingw-org-wsl/ci/4.0-... check-in: 50585cc0c1 user: jan.nijtmans tags: core-8-4-branch
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to ChangeLog.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
2013-05-16  Jan Nijtmans  <[email protected]>

	* win/tcl.m4: Add support for the latest mingw-4.0-rc1.
	* win/configure: (regenerated)
	* generic/tclBasic.c: Add panic in order to detect
	incompatible mingw32 sys/stat.h and sys/time.h headers,
	(which is fixed by defining _HAVE_32BIT_TIME_T).

2013-05-06  Jan Nijtmans  <[email protected]>

	* generic/tclStubInit.c: Add support for Cygwin64, which has a 64-bit
	* generic/tclDecls.h: "long" type. Binary compatibility with win64
	requires that all stub entries use 32-bit long's, therefore the
	need for various wrapper functions/macros. For Tcl 9 a better


<
<


<







1
2


3
4

5
6
7
8
9
10
11
2013-05-16  Jan Nijtmans  <[email protected]>



	* generic/tclBasic.c: Add panic in order to detect
	incompatible mingw32 sys/stat.h and sys/time.h headers,


2013-05-06  Jan Nijtmans  <[email protected]>

	* generic/tclStubInit.c: Add support for Cygwin64, which has a 64-bit
	* generic/tclDecls.h: "long" type. Binary compatibility with win64
	requires that all stub entries use 32-bit long's, therefore the
	need for various wrapper functions/macros. For Tcl 9 a better

Changes to win/configure.

1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
fi

echo "$ac_t""$tcl_cv_seh" 1>&6
	if test "$tcl_cv_seh" = "no" ; then
	    cat >> confdefs.h <<\EOF
#define HAVE_NO_SEH 1
EOF
	    cat >> confdefs.h <<\EOF
#define _HAVE_32BIT_TIME_T 1
EOF

	fi

	#
	# Check to see if the excpt.h include file provided contains the
	# definition for EXCEPTION_DISPOSITION; if not, which is the case
	# with Cygwin's version as of 2002-04-10, define it to be int,







<
<
<







1740
1741
1742
1743
1744
1745
1746



1747
1748
1749
1750
1751
1752
1753
fi

echo "$ac_t""$tcl_cv_seh" 1>&6
	if test "$tcl_cv_seh" = "no" ; then
	    cat >> confdefs.h <<\EOF
#define HAVE_NO_SEH 1
EOF




	fi

	#
	# Check to see if the excpt.h include file provided contains the
	# definition for EXCEPTION_DISPOSITION; if not, which is the case
	# with Cygwin's version as of 2002-04-10, define it to be int,

Changes to win/tcl.m4.

985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
	    tcl_cv_seh=yes,
	    tcl_cv_seh=no,
	    tcl_cv_seh=no)
	)
	if test "$tcl_cv_seh" = "no" ; then
	    AC_DEFINE(HAVE_NO_SEH, 1,
		    [Defined when mingw does not support SEH])
	    AC_DEFINE(_HAVE_32BIT_TIME_T, 1,
		    [Defined for mingw to use pre-2005 time API])
	fi

	#
	# Check to see if the excpt.h include file provided contains the
	# definition for EXCEPTION_DISPOSITION; if not, which is the case
	# with Cygwin's version as of 2002-04-10, define it to be int,
	# sufficient for getting the current code to work.







<
<







985
986
987
988
989
990
991


992
993
994
995
996
997
998
	    tcl_cv_seh=yes,
	    tcl_cv_seh=no,
	    tcl_cv_seh=no)
	)
	if test "$tcl_cv_seh" = "no" ; then
	    AC_DEFINE(HAVE_NO_SEH, 1,
		    [Defined when mingw does not support SEH])


	fi

	#
	# Check to see if the excpt.h include file provided contains the
	# definition for EXCEPTION_DISPOSITION; if not, which is the case
	# with Cygwin's version as of 2002-04-10, define it to be int,
	# sufficient for getting the current code to work.