Skip to content
Tcl Source Code View Ticket
Login

View Ticket

tclWinTime.c uses the deprecated timezone variable with MinGW UCRT

Closed / Fixed1b96413e8c51915e982d1dada6ef73ee9262ca85Created 35 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.