Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 66ec4ad54e8698dcb7cbd0744205436e816abb9f
Ticket: 2651823fffffffffffffffffffffffffffffffff
Tcl_StatBuf definition problem with VS2005 and Win XP x64
User & Date: patthoyts on 2009-04-30 18:02:38
Changes

  1. icomment:
    What I'm pointing out is that the binary compatability is broken.
    
    We have a further mess: MSDN states that "In versions of Visual C++ before Visual C++ 2005 time_t was 32 bits ... In Visual C++ 2005 time_t is equivalent to __time64_t by default"
    So this means that we have an incompatible type between extensions and executable compiled with differing compiler versions for anything using time_t as well. This means 5 Tclp* functions that manipulate dates and anything using Tcl_StatBuf. Defining _USE_32BIT_TIME_T will restore the old size for 32bit targets.
    
    So just specifying time_t in the Tcl_StatBuf structure wont be sufficient. We're still going to have to jiggle this per compiler version.
    
    
  2. login: "patthoyts"
  3. mimetype: "text/plain"
  4. username: "patthoyts"