Boost C++ Libraries: Ticket #6998: visibility problems on Mac OS X / GCC https://svn.boost.org/trac10/ticket/6998 <p> When an application built with -fvisibility=hidden is linked against libboost_program_options.dylib (built with default visibility), the linker emits the following warning: </p> <blockquote> <p> ld: warning: direct access in __static_initialization_and_destruction_0(int, int) to global weak symbol boost::program_options::options_description::~options_description() means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings. </p> </blockquote> <p> Even if the two are built with different visibility settings the program_options headers should force whatever needs to be visible to be. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/6998 Trac 1.4.3 Mathias Gaunard Tue, 19 Jun 2012 12:40:19 GMT description changed https://svn.boost.org/trac10/ticket/6998#comment:1 https://svn.boost.org/trac10/ticket/6998#comment:1 <ul> <li><strong>description</strong> modified (<a href="/trac10/ticket/6998?action=diff&amp;version=1">diff</a>) </li> </ul> Ticket