Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7559: gcc-compatible symbol visibility not supported for clang
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-10-26 16:28:31
#7559: gcc-compatible symbol visibility not supported for clang
-----------------------------------------------------+----------------------
Reporter: James Walker <jamesw@â¦> | Owner: johnmaddock
Type: Bugs | Status: closed
Milestone: To Be Determined | Component: config
Version: Boost Development Trunk | Severity: Problem
Resolution: fixed | Keywords:
-----------------------------------------------------+----------------------
Comment (by michel):
I chose to use Mathias' code
{{{
#if !defined(_WIN32) && !defined(__WIN32__) && !defined(WIN32)
# define BOOST_SYMBOL_EXPORT __attribute__((__visibility__("default")))
# define BOOST_SYMBOL_IMPORT
# define BOOST_SYMBOL_VISIBLE __attribute__((__visibility__("default")))
#endif
}}}
rather than copying the code from `config/compiler/gcc.hpp`.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/7559#comment:10> 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