Overview
| Artifact ID: | b61c4a137cf62b89745ebe953d1bb5f32b3c0743 |
|---|---|
| Ticket: | 1055668fffffffffffffffffffffffffffffffff
removal of exported internals from tclInt.h (EXTERN macro) |
| User & Date: | davygrvy on 2004-11-03 04:36:35 |
Changes
- icomment:
Logged In: YES user_id=7549 dgp: regarding the change to tclInt.h (-r1.192) I just made.. The following C++ source won't link statically: // test.cpp #include "tclInt.h" int main (void) { return tclFindExecutableSearchDone; } D:\tcl_workspace\tcl_head_stock\win>cl -nologo -MT -I..\generic test.cpp -link release\tcl85s.lib kernel32.lib user32.lib test.cpp test.obj : error LNK2001: unresolved external symbol "int tclFindExecutableSearchDone" (?tclFindExecutableSearchDone@@3HA) test.exe : fatal error LNK1120: 1 unresolved externals I do expect that I can not have access to it when linking either through Stubs or the import library. Though no C++ is contained within the source of Tcl, static linking to access internals need not be turned off to C++ users. - login: "davygrvy"
- mimetype: "text/plain"
- username: "davygrvy"