Skip to content
Tcl Source Code View Ticket
Login

View Ticket

enable static linking when TclX is present

Open1267256fffffffffffffffffffffffffffffffffCreated 21 years agoUpdated 19 years ago
Descriptionplain2005-08-23 16:28:02
When you statically link the thread extension w/ the 
TclX extension you get multiple defines - this patch 
addresses this issue in a minimal impact way.
matt-newmanplain2005-08-23 23:28:03
File Added - 146694: x
vasiljevicplain2005-08-24 02:07:12
Logged In: YES 
user_id=95086

Thanks for the update. I will rather declare those as static
in the tclXkeylist.c because those are only used from
within that file.
I will checkin the fix tomorrow in the cvs head branch.
vasiljevicplain2005-08-24 13:35:02
Logged In: YES 
user_id=95086

Checked into CVS head branch. Instead of the proposed patch
I made those symbols static in the tclXkeylist.c file. This should do.
matt-newmanplain2005-08-24 20:11:54
Logged In: YES 
user_id=1333796

Thanks for making this change, however unfortunately I was 
not complete in the list of  public symbols that class, the 
complete list - verified by using NM on the resultant objects 
is:

#define tclXWrongArgs           thread_tclXWrongArgs
#define TclX_WrongArgs          thread_TclX_WrongArgs
#define TclX_AppendObjResult    
thread_TclX_AppendObjResult
#define TclX_IsNullObj          thread_TclX_IsNullObj
#define TclX_KeyedListDelete    thread_TclX_KeyedListDelete
#define TclX_KeyedListGet       thread_TclX_KeyedListGet
#define TclX_KeyedListGetKeys   
thread_TclX_KeyedListGetKeys
#define TclX_KeyedListInit      thread_TclX_KeyedListInit
#define TclX_KeyedListSet       thread_TclX_KeyedListSet
#define TclX_NewKeyedListObj    
thread_TclX_NewKeyedListObj
vasiljevicplain2005-08-24 20:17:59
Logged In: YES 
user_id=95086

aha... ok. lets do those as well...
hobbsplain2005-08-25 00:25:32
Logged In: YES 
user_id=72656

I don't know when tclXkeylist.c was forked, but I updated
the TclX version with some mods that significantly improve
performance on large keylists.  You might also consider
those when making changes.
vasiljevicplain2005-08-25 03:18:14
Logged In: YES 
user_id=95086

I took pieces out the TclX for about 2 years ago. I will look
into your changes and sync them in. Thanks for the hint.
hobbs Ticket [1267256fff]: 1 change [History diff]2007-06-14 00:32:46
Log in (anonymous is fine) to add a comment.

Attachments: