This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Resolution to PR 16715 causing linker errors?


On Sun, Sep 26, 2004 at 09:01:30PM +0200, Paolo Carlini wrote:

> Hummm, try to *really* understand what's going wrong and where. For 
> instance, in the install (lib) dir, if I do "nm --demangle libstdc++.so 
> | more | grep '~basic_iostream'" I get:
[snip]
> And you?

I only have the wchar_t specialisations, none of the char ones!

$ nm --demangle libstdc++.so | grep 'basic_iostream<char'
$

Same result for the 32- and 64-bit libs. More revealingly,

If I do that for the libs built with the previous version of istream.tcc 
(which work fine for me) I get the same result as well!

This implies that I've never had those specialisations in the library, but
this has only been made apparent by the "extern" declarations added to
istream.tcc.

So now the question is what have I done to prevent those instantiations
appearing in libstdc++.so ?

(this is the same in the build dir and installed dir btw)

Thanks for the pointer Paolo, I'll see if I can find what I'm doing
wrong and post more soon,

jon


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]