Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2026-10-29
11:51 • Closed ticket [1b96413e8c]: tclWinTime.c uses the deprecated timezone variable w... artifact: 1b51285ba9 user: jan.nijtmans
11:15
Fix [1b96413e8c] and [ae62bacc43]: compiler warnings in UCRT environment check-in: 4d240729d6 user: jan.nijtmans tags: core-8-6-branch
10:07 • New ticket [1b96413e8c] tclWinTime.c uses the deprecated timezone variable with ... artifact: f90c595d0e user: serhiy.storchaka

tclWinTime.c uses the deprecated timezone variable with MinGW UCRT

Closed / Fixed1b96413e8c51915e982d1dada6ef73ee9262ca85Created 36 days agoUpdated 35 days ago
Descriptionwiki2026-10-29 10:07:11
Building Tcl 8.6 with MSYS2 UCRT64 (gcc 16.2.0):
win/tclWinTime.c:781:9: warning: 'timezone' is deprecated: Only provided for source compatibility; this variable might not always be accurate when linking to UCRT. [-Wdeprecated-declarations]
and the same at line 801. _get_timezone() is used only if _MSC_VER >= 1900 (see [3cf3a939d3]); perhaps also if _UCRT is defined.
Referenced by1
jan.nijtmanswiki2026-10-29 11:51:55

Many thanks!

Merged to [core-8-6-branch]

Log in (anonymous is fine) to add a comment.