Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Error in /generic/tclPort.h

Closed / Invalid1547046fffffffffffffffffffffffffffffffffCreated 20 years agoUpdated 20 years ago
Descriptionplain2006-08-26 07:50:48
Hi,

Under /tcl8.5a4/generic, the tclPort.h file uses an if
check to include the right tcl<Platform>Port.h

#if defined(__WIN32__)
#   include "../win/tclWinPort.h"
#else
#   include "tclUnixPort.h"
#endif

For the second case (UNIX) the include needs to be
modified to:

#   include "../unix/tclUnixPort.h"

since that is the folder where the tclUnixPort.h file
resides.

Sincerely,
V.
dasplain2006-08-26 21:01:29
Logged In: YES 
user_id=90580

No, the relative path ../unix was removed purposefullly on HEAD as part of tcl 
header reform FR 922727, as it created problems when tclPort.h and 
tclUnixPort.h are included from an install location (e.g. /usr/local/include).
This issue is still present on core-8-4-branch and as a consequence tclPort.h 
needs to be rewritten at install time to remove the relative path...

To build HEAD, the compiler include path is required to contain the 'generic', 
'unix' and 'libtommath' subdirectories, c.f. CC_SWITCHES in unix/Makefile.in
sf-robotplain2006-09-10 09:20:12
Logged In: YES 
user_id=1312539

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
Log in (anonymous is fine) to add a comment.