Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: a6f1a5ad8b9a09158f0469ea408460f14f3792d4
Ticket: 626505ffffffffffffffffffffffffffffffffff
Patches for Borland and Tcl 8.4
User & Date: hgiese on 2002-10-21 19:48:59
Changes

  1. assignee changed to: "mdejong"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Please hand this over to David Gravereau or Jeff Hobbs.
    
    I think I submitted a patch sometime in August, before
    I took some time "off-line". I don't find it and the
    sources I downloaded from SF yesterday still don't
    build with Borland - so I guess the patch didn't make it.
    Anyway, the one enclosed in the diff file is better
    than the original, as far as patching tcl.h is
    concerned (IMHO):
    Currently checking for windows compilers is done like this:
    #ifndef __WIN32__
    ... check for other "Win32" symbols or the Borland compiler
    ... if ok
          #define __WIN32__
        and - if not already done so -
          #define WIN32
        which is used elsewhere in the sources.
    
    Now, Borland already #defines __WIN32__, so this block
    is skipped, leaving WIN32 #undefined - which will cause
    problems later on.
    
    I propose instead to test for any of the symbols,
    Windows compilers use to identify the platform - see
    the diff file for details. This eliminates an explicit
    test for _BORLANDC_ - just like tcl.h contains no
    explicit test for MSC_VER at this point anymore.
    Best regards
    Helmut Giese
    
  4. foundin changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "hgiese"
  9. subsystem changed to: "52. Portability Support"
  10. title changed to: "Patches for Borland and Tcl 8.4"
  11. type changed to: "Patch"