Tk Source Code

Check-in [3d793297]
Login

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

Overview
Comment:Make tkWinTest.c warning-free, when compiled with Tcl 8.7 headers
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | core-8-6-branch
Files: files | file ages | folders
SHA3-256: 3d793297ae75ea9dbae5f7bcd34f639b99b8a1b0240e514f0ef151f766c92954
User & Date: jan.nijtmans 2024-04-29 21:51:14
Context
2024-04-30
09:52
Simplify TkCygwinMainEx (int -> void return). Fix --disable-shared build on Windows (broken by previous commit) check-in: 86e1195e user: jan.nijtmans tags: core-8-6-branch
2024-04-29
21:51
Make tkWinTest.c warning-free, when compiled with Tcl 8.7 headers check-in: 3d793297 user: jan.nijtmans tags: core-8-6-branch
14:45
Make TkCygwinMainEx() MODULE_SCOPE. Make Tk_MainEx TCL_NORETURN1 (which only makes a difference when compiled with Tcl 8.7) check-in: 50ac5957 user: jan.nijtmans tags: core-8-6-branch
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to win/tkWinTest.c.

13
14
15
16
17
18
19


20
21
22
23
24
25
26
 */

#undef USE_TCL_STUBS
#define USE_TCL_STUBS
#undef USE_TK_STUBS
#define USE_TK_STUBS
#include "tkWinInt.h"



HWND tkWinCurrentDialog;

/*
 * Forward declarations of functions defined later in this file:
 */








>
>







13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
 */

#undef USE_TCL_STUBS
#define USE_TCL_STUBS
#undef USE_TK_STUBS
#define USE_TK_STUBS
#include "tkWinInt.h"
#undef TCLBOOLWARNING
#define TCLBOOLWARNING(boolPtr) /* needed here because we compile with -Wc++-compat */

HWND tkWinCurrentDialog;

/*
 * Forward declarations of functions defined later in this file:
 */