Explicit template instantiation and -fvisibility. Gcc bug?

J.S.Wijnhout@lumc.nl J.S.Wijnhout@lumc.nl
Fri Nov 21 12:16:00 GMT 2008


>> The semantics of how visibility should work with C++ classes and
>> templates are obscure and probably still not fully pinned down.
There
>> has been work in each recent gcc release to address this in various
>> ways.  You neglected to mention which version of gcc you are using.
I
>> would recommend trying your program with mainline (the future gcc
>> 4.4).  If it does not behave as you expect, file a bug report (see
>> http://gcc.gnu.org/bugs.html ).  Thanks.
>
>I am using GCC4.3.2 (most recent released version afaik), however I
>will try the mainline version.

I've tested with the most recent snapshot (I can't use subversion
through our firewall) and the problem persists. Therefore I have filed a
bugreport:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38175
Hopefully it will be picked up by someone soon.

Best,
Jeroen



More information about the Gcc-help mailing list