Tcl Source Code

Check-in [faf8450cf0]
Login

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

Overview
Comment:[Bug 3372130] Fix hypot math function with MSVC10
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | core-8-5-branch
Files: files | file ages | folders
SHA1: faf8450cf0f7565346f0ea0f3296f9098c060800
User & Date: jan.nijtmans 2011-07-21 16:29:41
Context
2011-07-28
14:42
Update to Olson's tzdata2011h check-in: 6e66b1bc32 user: dgp tags: core-8-5-branch
2011-07-21
16:36
[Bug 3372130] Fix hypot math function with MSVC10 check-in: eb36f33d12 user: jan.nijtmans tags: trunk
16:29
[Bug 3372130] Fix hypot math function with MSVC10 check-in: faf8450cf0 user: jan.nijtmans tags: core-8-5-branch
16:27
oops, leftover end comment check-in: f2bb3c8455 user: jan.nijtmans tags: core-8-4-branch
2011-07-19
19:26
3371644 Repair failure to properly handle (length == -1) in TclConvertElement(). check-in: 720e2e9c56 user: dgp tags: core-8-5-branch
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to ChangeLog.





1
2
3
4
5
6
7




2011-07-19  Don Porter  <[email protected]>

	* generic/tclUtil.c:	[Bug 3371644] Repair failure to properly handle 
	* tests/util.test: (length == -1) scanning in TclConvertElement().

2011-07-15  Don Porter  <[email protected]>

>
>
>
>







1
2
3
4
5
6
7
8
9
10
11
2011-07-21  Jan Nijtmans  <[email protected]>

	* win/tclWinPort.h: [Bug 3372130] Fix hypot math function with MSVC10

2011-07-19  Don Porter  <[email protected]>

	* generic/tclUtil.c:	[Bug 3371644] Repair failure to properly handle 
	* tests/util.test: (length == -1) scanning in TclConvertElement().

2011-07-15  Don Porter  <[email protected]>

Changes to win/tclWinPort.h.

407
408
409
410
411
412
413

414

415
416
417
418
419
420
421
 * Visual C++ has some odd names for common functions, so we need to
 * define a few macros to handle them.  Also, it defines EDEADLOCK and
 * EDEADLK as the same value, which confuses Tcl_ErrnoId().
 */

#if defined(_MSC_VER) || defined(__MINGW32__)
#   define environ _environ

#   define hypot _hypot

#   define exception _exception
#   undef EDEADLOCK
#   if defined(__MINGW32__) && !defined(__MSVCRT__)
#	define timezone _timezone
#   endif
#endif /* _MSC_VER || __MINGW32__ */








>
|
>







407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
 * Visual C++ has some odd names for common functions, so we need to
 * define a few macros to handle them.  Also, it defines EDEADLOCK and
 * EDEADLK as the same value, which confuses Tcl_ErrnoId().
 */

#if defined(_MSC_VER) || defined(__MINGW32__)
#   define environ _environ
#    if defined(_MSC_VER) && (_MSC_VER < 1600)
#	define hypot _hypot
#    endif
#   define exception _exception
#   undef EDEADLOCK
#   if defined(__MINGW32__) && !defined(__MSVCRT__)
#	define timezone _timezone
#   endif
#endif /* _MSC_VER || __MINGW32__ */