Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 93412e629b5f3e0286a431b3c32a221427d5b1f8
Ticket: 1831253fffffffffffffffffffffffffffffffff
tclWin32Dll.c not buildable w/VC6
User & Date: davygrvy on 2007-11-13 18:41:55
Changes

  1. assignee changed to: "kennykb"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Compiler error:
    ..\win\tclWin32Dll.c(557) : error C2065: 'DWORD_PTR' : undeclared identifier
    
    Line in the source is:
    || ((DWORD_PTR)&tsdPtr < (DWORD_PTR)tsdPtr->stackBound)) {
    
    VC5 does not have the define of DWORD_PTR in its basetsd.h.  Stealing the define tree of it from the platformSDK got rather "branchy".  I punted with this, but I don't know if it's correct (enough).
    
    Index: tclWin32Dll.c
    ===================================================================
    RCS file: /cvsroot/tcl/tcl/win/tclWin32Dll.c,v
    retrieving revision 1.52
    diff -c -r1.52 tclWin32Dll.c
    *** tclWin32Dll.c10 Nov 2007 19:01:35 -00001.52
    --- tclWin32Dll.c13 Nov 2007 18:41:15 -0000
    ***************
    *** 15,20 ****
    --- 15,25 ----
      
      #include "tclWinInt.h"
      
    + /* VC++ 5.x doesn't define this, so punt. */
    + #ifndef DWORD_PTR
    + #   define DWORD_PTR DWORD
    + #endif
    + 
      #ifndef TCL_NO_STACK_CHECK
      /*
       * The following functions implement stack depth checking
    
    
    
    
    
  4. foundin changed to: "obsolete: 8.5b3"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "davygrvy"
  10. subsystem changed to: "52. Portability Support"
  11. title changed to: "tclWin32Dll.c not buildable w/VC5"
  12. type changed to: "Bug"