Re: VC6 + Dinkumware fixes OK for basic STL usage?
Tom Widmer [VC++ MVP] wrote:
The problem with the DLL is that it includes instantiations of various
template specializations, such as std::string and wstring. Therefore,
any changes to implementation of member functions in the headers has no
effect on code that links to the DLL. This doesn't affect the static
library, since that doesn't include those instantiations, since they
would only slightly improve compilation times, with no other benefit.
If binaries for static linking of V-express are required, why do you
not provide them? And if I have to build them myself, where is the
source to build them from? In the VC distributions I see source for
MFC and CRT, but not for the C++ library.
The source is there in the crt\src folder, at least in 2003 and later.
Rebuilding that source may require a bit of work I imagine, though make
files are included.
Tom:
Thanks for the explanation. I would have to say that (with the wisdom of
hindsight, knowing about the DinkumWare lawsuit) it is very unfortunate
that these template instantiations were put in the VC++ DLL. I just
thank God they weren't put in the static library!
BTW, what is the name of the C++ static library in VC6? The dynamic one
is msvcp60.dll, but what is the static one called?
David Wilkinson