Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2003-12-16
09:57 • Closed ticket [626505ffff]: Patches for Borland and Tcl 8.4 plus 7 other cha... artifact: bdcfff2724 user: davygrvy
2002-12-02
10:47 • Ticket [626505ffff]: 1 change artifact: a781621af1 user: mdejong
2002-10-22
02:49 • Ticket [626505ffff]: 4 changes artifact: 9d5ae543c6 user: hgiese
02:49 • Add attachment tcl.diff to ticket [626505ffff] artifact: 4e4bbae112 user: hgiese
2002-10-21
19:48 • New ticket [626505ffff] Patches for Borland and Tcl 8.4. artifact: a6f1a5ad8b user: hgiese

Patches for Borland and Tcl 8.4

Closed / Wont Fix626505ffffffffffffffffffffffffffffffffffCreated 24 years agoUpdated 23 years ago
Descriptionplain2002-10-21 19:48:59
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
hgieseplain2002-10-22 02:49:00
File Added - 33553: tcl.diff
mdejong Ticket [626505ffff]: 1 change [History diff]2002-12-02 10:47:21
davygrvyplain2003-12-16 09:57:31
Logged In: YES 
user_id=7549

working on the 8.5 patches instead.
Log in (anonymous is fine) to add a comment.

Attachments: