[LLVMbugs] [Bug 16937] Template instantiation with user-defined type generates hidden symbol when building a shared library with -fvisibility=hidden

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Aug 20 14:04:52 PDT 2013


http://llvm.org/bugs/show_bug.cgi?id=16937

Eli Friedman <sharparrow1 at yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #4 from Eli Friedman <sharparrow1 at yahoo.com> ---
Or you might want to just put "#pragma GCC visibility push (default)"/pop
around your include of boost::shared_ptr if you need to use boost::shared_ptr
instances across shared libraries.

In any case, it's pretty clear clang is behaving correctly.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130820/a0cc95b5/attachment.html>


More information about the llvm-bugs mailing list