--- Comment #3 from fjoe at samodelkin dot net 2010-03-17 07:09 ---
The source of library bar is:
--- cut here ---
#include foo.h
#ifdef _MSC_VER
#define BAR_API __declspec(dllexport)
#else
#define BAR_API __attribute__((visibility(default)))
#endif
void BAR_API
bar()
{
Foo
Version: unknown
Status: UNCONFIRMED
Severity: major
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: fjoe at samodelkin dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43376
--- Comment #1 from fjoe at samodelkin dot net 2010-03-15 11:32 ---
In the last example above I mean that there is shared library foo with
interface declared in foo.h and it is used in another shared library bar. And
bar will have unnecessary template instantiations visible even