Itcl - the [incr Tcl] extension

Check-in [8f8d3e9388]
Login
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to [email protected]
or submit via the online form by Sep 9.

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

Overview
Comment:Disable some warnings when compiling with MSVC (Same warnings are disabled in Tcl as well)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 8f8d3e938861a87630fbbc3199e69f43524a3b1102a88c6bc836ae016f8a3036
User & Date: jan.nijtmans 2019-03-15 14:03:55
Context
2019-05-09
20:56
Eliminate all usage of Tcl_GetStringResult() and Tcl_StringMatch() check-in: 2d510e2305 user: jan.nijtmans tags: trunk
2019-03-15
14:03
Disable some warnings when compiling with MSVC (Same warnings are disabled in Tcl as well) check-in: 8f8d3e9388 user: jan.nijtmans tags: trunk
2019-03-08
20:39
Eliminate compiler warnings, when compiling against Tcl 9 headers. check-in: 120bdb3153 user: jan.nijtmans tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to generic/itclInt.h.

43
44
45
46
47
48
49











50
51
52
53
54
55
56
 */

#ifndef STRINGIFY
#  define STRINGIFY(x) STRINGIFY1(x)
#  define STRINGIFY1(x) #x
#endif












/*
 * Since the Tcl/Tk distribution doesn't perform any asserts,
 * dynamic loading can fail to find the __assert function.
 * As a workaround, we'll include our own.
 */

#undef  assert






>
>
>
>
>
>
>
>
>
>
>







43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
 */

#ifndef STRINGIFY
#  define STRINGIFY(x) STRINGIFY1(x)
#  define STRINGIFY1(x) #x
#endif

/*
 * MSVC 8.0 started to mark many standard C library functions depreciated
 * including the *printf family and others. Tell it to shut up.
 * (_MSC_VER is 1200 for VC6, 1300 or 1310 for vc7.net, 1400 for 8.0)
 */
#if defined(_MSC_VER) && (_MSC_VER >= 1400)
#   pragma warning(disable:4244)
#   pragma warning(disable:4267)
#   pragma warning(disable:4996)
#endif

/*
 * Since the Tcl/Tk distribution doesn't perform any asserts,
 * dynamic loading can fail to find the __assert function.
 * As a workaround, we'll include our own.
 */

#undef  assert