This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: stl and -fexternal-templates: bug
> I don't think it was ever supposed to work. The docs say that you
> should add the #pragmas to *all* files that declare or define
> templates, so it looks like you'll have to start using some other
> template instantiation mechanism.
Since egcs has stl 'on board', wouldn't it make sense to add all
required pragmas to the stl headers?
If that's too much work, at least a line 'if you want to use stl, you
cannot use #pragma interface/implementation' in the egcs documentation
would be nice.
Kasper