Changes between Initial Version and Version 1 of Ticket #6998


Ignore:
Timestamp:
Jun 19, 2012, 12:40:19 PM (10 years ago)
Author:
Mathias Gaunard
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #6998 – Description

    initial v1  
    11When an application built with -fvisibility=hidden is linked against libboost_program_options.dylib (built with default visibility), the linker emits the following warning:
    22
    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.
    64
    75Even if the two are built with different visibility settings the program_options headers should force whatever needs to be visible to be.