Changes between Initial Version and Version 1 of Ticket #6998
- Timestamp:
- Jun 19, 2012, 12:40:19 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #6998 – Description
initial v1 1 1 When an application built with -fvisibility=hidden is linked against libboost_program_options.dylib (built with default visibility), the linker emits the following warning: 2 2 3 {{{ 4 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. 5 }}} 3 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. 6 4 7 5 Even if the two are built with different visibility settings the program_options headers should force whatever needs to be visible to be.