Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: f887623174464214f287981fa32282ed3267e93f
Ticket: 59a2e78e54d3361c33b8cd6eef55d384d8abecd7
tclWinTime.c does not compile with MSVC14
User & Date: anonymous on 2014-10-02 18:37:13
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    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
    
  5. foundin changed to: "8.6.1.0"
  6. is_private changed to: "0"
  7. login: "anonymous"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "d27b46750b96d4ee8dc8e16d3f39dc12461d1d5e"
  10. resolution changed to: "None"
  11. severity changed to: "Critical"
  12. status changed to: "Open"
  13. submitter changed to: "anonymous"
  14. subsystem changed to: "06. Time Measurement"
  15. title changed to: "tclWinTime.c does not compile with MSVC14"
  16. type changed to: "Bug"