Artifacts Associated With Ticket 403533ffffffffff
Ticket change [aecd71ea71] (rid 101704) by dgp on 2001-01-31 23:25:08:
- assignee initialized to: "nobody"
- foundin initialized to: "None"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "dgp"
- subsystem initialized to: ""
- title initialized to: "Patch from Bug 130582"
- type initialized to: "Patch"
Add attachment "None" [5588493b28] (rid 94146) by dgp on 2001-02-01 06:25:08.
Ticket change [5be23f0410] (rid 118408) by dgp on 2001-02-22 07:14:30:
- subsystem changed to: "53. Configure and Build Tools"
Ticket change [157fa8a018] (rid 124574) by dkf on 2001-02-27 18:41:22:
- title changed to: "Patch from Bug 130582 (VC++ problems with stubs)"
Ticket change [aaa3c87d4f] (rid 100959) by hobbs on 2001-03-29 08:49:47:
- icomment:
Logged In: YES user_id=72656 I'm not able to find the original bug report by that number of name (in currently open reports). What was this fixing?
- login: "hobbs"
- mimetype: "text/plain"
- username: "hobbs"
- icomment:
Ticket change [e81c5d6995] (rid 104593) by dgp on 2001-03-29 09:47:28:
- icomment:
Logged In: YES user_id=80530 Bug 230582: http://sourceforge.net/tracker/index.php?func=detail&aid=230582&group_id=10894&atid=110894
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [df573c5700] (rid 114998) by davygrvy on 2001-05-18 07:34:24:
- icomment:
Logged In: YES user_id=7549 It gets rid of the run-time linking requirement to MSVCRT.lib so only one flavor of it is ever needed.
- login: "davygrvy"
- mimetype: "text/plain"
- username: "davygrvy"
- icomment:
Ticket change [8ddca83011] (rid 128011) by mdejong on 2001-07-06 13:49:00:
- icomment:
Logged In: YES user_id=90858 I am no VC++, but is this really the correct solution? The bug report claims that extension developers will want to do things like link debug code to a non-debug build of Tcl and vice versa. I was under the impression that this is exactly the sort of thing we wanted to avoid. Would this not pull in two copies of a given dll (the debug and non-debug versions) when the extension in question is loaded into Tcl? I would think that leaving the lib name in the .obj file is actually a good thing and that adding -nodefaultlib:msvcrt.lib is just silencing the real problem of mixed libs. If the app is using the CFLAGS set by Tcl (like -MD or whatever) then this would not be a problem, right?
- login: "mdejong"
- mimetype: "text/plain"
- username: "mdejong"
- icomment:
Ticket change [ed387e2659] (rid 103840) by davygrvy on 2001-07-06 14:44:26:
- icomment:
Logged In: YES user_id=7549 Anyone linking to Tcl with Stubs might use any of 4 combination: -MD, -MDd, -MT, -MTd. Using -Zl when compiling tclStubLib.c will not place a link requirement to any of the above. It'll have to one, sure, at link time, but having the compiler place a link requirement to any of these and you'll need to drop this into any source code you'll be using Tcl with: #ifdef _MSC_VER // Only do this when MSVC++ is compiling us. # ifdef USE_TCL_STUBS // Mark this .obj as needing tcl's Stubs library. #pragma comment(lib, "tclstub" \ STRINGIFY(JOIN (TCL_MAJOR_VERSION,TCL_MINOR_VERSION)) ".lib") #if !defined(_MT) || !defined(_DLL) || defined (_DEBUG) // This fixes a bug with how the Stubs library was compiled. // The requirement for msvcrt.lib from tclstubXX.lib should // be removed. # pragma comment(linker, "- nodefaultlib:msvcrt.lib") #endif # else // Mark this .obj needing the import library # pragma comment(lib, "tcl" \ STRINGIFY(JOIN (TCL_MAJOR_VERSION,TCL_MINOR_VERSION)) ".lib") # endif #endif It is perfectly valid to build an application that embeds Tcl with the static multithreaded run-time (aka -MT(d), libcmt(d).lib). And if I build the app with symbols, and choose to use LoadLibrary(tcl84.dll); without symbols for Tcl, does it matter in the big picture? If -Zl won't be added, I'll just do it myself for my own stuff, and probably leave that preprocessor work in my code anyways now that I think about it... This trips many first time extension authors, BTW. - login: "davygrvy"
- mimetype: "text/plain"
- username: "davygrvy"
- icomment:
Ticket change [d79ab0aa57] (rid 124017) by andreas_kupries on 2001-08-25 01:12:07:
- assignee changed to: "mdejong"
Ticket change [fbee8ed0aa] (rid 108145) by davygrvy on 2001-09-03 07:49:09:
- closedate changed to: "2001-09-03T00:49:09"
- closer changed to: "davygrvy"
- icomment:
Logged In: YES user_id=7549 commited to HEAD.
- login: "davygrvy"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "davygrvy"