Subject: [Boost-bugs] [Boost C++ Libraries] #7559: gcc-compatible symbol visibility not supported for clang
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-10-23 17:38:36
#7559: gcc-compatible symbol visibility not supported for clang
----------------------------------------------------+-----------------------
Reporter: James Walker <jamesw@â¦> | Owner: johnmaddock
Type: Bugs | Status: new
Milestone: To Be Determined | Component: config
Version: Boost Development Trunk | Severity: Problem
Keywords: |
----------------------------------------------------+-----------------------
boost/config/compiler/gcc.hpp defines BOOST_SYMBOL_VISIBLE and
BOOST_SYMBOL_EXPORT to be __attribute__((visibility("default"))) when not
running under Windows. But boost/config/compiler/clang.hpp does not
define these symbols. This creates compatibility problems on OS X when
linking binaries built with gcc to binaries built with clang. Since clang
is used as a replacement for gcc, I would expect that BOOST_SYMBOL_VISIBLE
and BOOST_SYMBOL_EXPORT should be defined in the same way for clang.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/7559> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:11 UTC