Dynamic linking specializations
Howard Hinnant
hhinnant@apple.com
Wed Jan 25 18:28:00 GMT 2006
On Jan 24, 2006, at 5:53 PM, Jamie Kirkpatrick wrote:
> I have uploaded the project to my webspace so people can get at it
> easily - the URL is www.kirkconsulting.co.uk/StringMemoryError.zip
>
> I hope that someone will have time to look into this as I've banged
> my head against a brick wall for two days now! I'd appreciate any
> information that could be provided. I'm not too sure what the real
> impact of the problem is, but it means that I cannot Malloc Debug
> my app because it will just hit this error and die.
>
> I hope that I have provided sufficient information for this to be
> investigated, any further queries please shout me...
Hi Jamie,
Nice demo. Sorry you're having trouble.
Try putting this line:
template class std::basic_string<CharType>;
in TestClass.cpp at global scope. That should instantiate a
UTFString and thus create the "empty rep" that this implementation
requires.
-Howard
More information about the Libstdc++
mailing list