Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2014-10-08
07:14 • Closed ticket [59a2e78e54]: tclWinTime.c does not compile with MSVC14 plus 8... artifact: 969b45eee9 user: jan.nijtmans
07:11
Fix [59a2e78e54d3361c33b8cd6eef55d384d8abecd7|59a2e78e54] : tclWinTime.c does not compile with MSVC1... check-in: c9c7d35c9d user: jan.nijtmans tags: trunk
07:02
Fix [59a2e78e54d3361c33b8cd6eef55d384d8abecd7|59a2e78e54] : tclWinTime.c does not compile with MSVC1... check-in: c69f003888 user: jan.nijtmans tags: core-8-5-branch
2014-10-02
18:37 • New ticket [59a2e78e54] tclWinTime.c does not compile with MSVC14. artifact: f887623174 user: anonymous

tclWinTime.c does not compile with MSVC14

Closed / Fixed59a2e78e54d3361c33b8cd6eef55d384d8abecd7Created 12 years agoUpdated 12 years ago
Descriptionplain2014-10-02 18:37:13
The C Runtime in the upcoming VC14 has removed the definitions of daylight, timezone and tzname in time.h and now requires _daylight, _timezone and _tzname be used instead. (And it'll probably warn about those and suggest _get_timezone(int *timezone), etc. instead, but I can't imagine the underscore prefixed names going away.)

The _MSC_VER value for VC14 is 1900, but the alternative names have been available since at least VC10 (1600).

I'm responsible for porting CPython 3.5 to build with VC14, and it would be nice if we could use Tcl without having to manually patch it to support the newer compiler. So far in my testing this is the only thing that needs fixing (there's also a bug in VC14's NMake that I've reported to the team responsible, so hopefully they'll fix that).

Thanks,
Steve
Referenced by2
jan.nijtmanswiki2014-10-08 07:14:58

Fixed in core-8-5-branch [c69f003888] and trunk [c9c7d35c9d].

Thanks for the report!

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