Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2004-04-03
02:28 • Closed ticket [928415ffff]: tracking defines plus 8 other changes artifact: c0655f7e14 user: msofer
02:26 • Ticket [928415ffff]: 4 changes artifact: 820afa4253 user: tauvan
02:08 • Ticket [928415ffff]: 5 changes artifact: a39d94f56e user: msofer
01:14 • Ticket [928415ffff]: 4 changes artifact: 8bf1f2e891 user: dgp
2004-04-02
17:58 • New ticket [928415ffff]. artifact: 3bb7550133 user: tauvan

tracking defines

Closed / Fixed928415ffffffffffffffffffffffffffffffffffCreated 23 years agoUpdated 23 years ago
Descriptionplain2004-04-02 17:58:36
Original code:

#ifndef _TCLINT
#include "tclInt.h"
#endif /* _TCLINT */

#ifdef BUILD_tcl
# undef TCL_STORAGE_CLASS
# define TCL_STORAGE_CLASS DLLEXPORT
#endif

Changed to:

#include "tclInt.h"

Logic:

_TCLINT  included test in "tclInt.h"
and makes easier to track defines

BUILD_tcl not defined anywhere including config/make type files
nor a "m4" type test (that I could see) so skipped code
dgpplain2004-04-03 01:14:08
Logged In: YES 
user_id=80530

note the comments refer
to tclCompile.h
msoferplain2004-04-03 02:08:54
Logged In: YES 
user_id=148712

Removed the _TCLINT stuff.
Passing to more knowledgeable maintainer for the
TCL_STORAGE_CLASS issue;  in particular, is it really so
that BUILD_tcl is not #defined in any build environment?
tauvanplain2004-04-03 02:26:50
Logged In: YES 
user_id=1011552

BUILD_tcl is also in other files and part of the next
"fixes" I'm going to try and submit

note the comments refer
to tclCompile.h
msoferplain2004-04-03 02:28:56
Logged In: YES 
user_id=148712

Checked with kbk: "BUILD_tcl is defined in windows builds
when building Tcl.  It's left undefined when building
extensions.  In that way, TCL_STORAGE_CLASS becomes
__declspec(dllexport) for Tcl itself, and
__declspec(dllimport) for the extension."

So that settles the second issue.
Log in (anonymous is fine) to add a comment.