Skip to content
  • Tor Didriksen's avatar
    557f95e9
    Bug#23344916 ADAPT TO GCC 5.3 ON SOLARIS · 557f95e9
    Tor Didriksen authored
    Our cmake scripts tries to hide (visibility=hidden) certain symbols.
    The current approach is wrong, and gives link problems with gcc 5.3 on
    Solaris.
    
    Fix:
    Do not compile entire source files with visibility hidden,
    that makes *all* symbols in the compilation unit hidden.
    
    Rather: tag the desired symbols with __attribute__((visibility("hidden")))
    557f95e9
    Bug#23344916 ADAPT TO GCC 5.3 ON SOLARIS
    Tor Didriksen authored
    Our cmake scripts tries to hide (visibility=hidden) certain symbols.
    The current approach is wrong, and gives link problems with gcc 5.3 on
    Solaris.
    
    Fix:
    Do not compile entire source files with visibility hidden,
    that makes *all* symbols in the compilation unit hidden.
    
    Rather: tag the desired symbols with __attribute__((visibility("hidden")))
Loading