Skip to content
Tcl Source Code View Ticket
Login

View Ticket

C++ support in generic/tclDecls.h

Closed / Fixed218735ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 01:04:44
OriginalBugID: 1934 RFE
Version: 8.1b3
SubmitDate: '1999-04-26'
LastModified: '1999-04-27'
Severity: MED
Status: Released
Submitter: pat
ChangedBy: stanton
OS: Windows NT
OSVersion: 4.0sp4 with MSVC++ 5
Machine: X86
FixedDate: '1999-04-27'
FixedInVersion: 8.1
ClosedDate: '2000-10-25'


Name:
David Gravereaux

Comments:
This is a follow-up to a previos bug report "tclstub81.lib locks me into
    release build only"

DesiredBehavior:
on line 1525 please change:
    
    extern TclStubs *tclStubsPtr;
    
    to be:
    
    #ifdef __cplusplus
    extern "C" {
    #endif
    extern TclStubs *tclStubsPtr;
    #ifdef __cplusplus
    }
    #endif
    
    This solves the unresolved external when using a C++ compiler due to
    name decoration where we don't want it.



This patch is definitely needed.
welch Closed ticket [218735ffff]. [History diff]2000-10-26 08:28:12
dgp Ticket [218735ffff]: 3 changes [History diff]2001-04-17 06:04:27
Log in (anonymous is fine) to add a comment.