Tk Source Code

Check-in [a5cef70a]
Login

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

Overview
Comment:Disable warning C5287 showing up on recent MSVC 2022 versions. See https://core.tcl-lang.org/tcl/tktview/1dcda0e862.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | revised_text | tip-466
Files: files | file ages | folders
SHA3-256: a5cef70ad9cff5aa9365344ead1b4e245b1272d672a0a46d6eb0381a14ce1b06
User & Date: fvogel 2025-05-31 12:38:44.261
Context
2025-05-31
12:39
merge trunk check-in: 9c125118 user: fvogel tags: revised_text, tip-466
12:38
Disable warning C5287 showing up on recent MSVC 2022 versions. See https://core.tcl-lang.org/tcl/tktview/1dcda0e862. check-in: a5cef70a user: fvogel tags: revised_text, tip-466
2025-05-19
20:42
Merge 9.0 check-in: 4a495ea6 user: jan.nijtmans tags: revised_text, tip-466
Changes
Unified Diff Ignore Whitespace Patch
Changes to win/tkWinPort.h.
100
101
102
103
104
105
106

107
108
109
110
111
112
113
#   pragma warning(disable:4244)
#   pragma warning(disable:4311)
#   pragma warning(disable:4312)
#   pragma warning(disable:4996)
#if !defined(_WIN64)
#   pragma warning(disable:4305)
#endif

#endif

/*
 * The following macro checks to see whether there is buffered
 * input data available for a stdio FILE.
 */








>







100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
#   pragma warning(disable:4244)
#   pragma warning(disable:4311)
#   pragma warning(disable:4312)
#   pragma warning(disable:4996)
#if !defined(_WIN64)
#   pragma warning(disable:4305)
#endif
#   pragma warning(disable:5287) /* See [1dcda0e862] in the Tcl repository */
#endif

/*
 * The following macro checks to see whether there is buffered
 * input data available for a stdio FILE.
 */