Boost logo

Boost :

Subject: Re: [boost] [config] GCC symbol visibility across shared libraries
From: Beman Dawes (bdawes_at_[hidden])
Date: 2010-05-19 17:44:02


On Wed, May 19, 2010 at 12:36 PM, Robert Ramey <ramey_at_[hidden]> wrote:

>...
>
> Note: some of this funtionality, or something similar,  might already be
> found in boost/serialization/force_include.hpp

Interesting... Although BOOST_USED is solving a somewhat different
problem than BOOST_SYMBOL_VISIBLE, the solution follows the same
pattern - introduce a new macro for the particular attribute needed,
and define that macro with no value for the compilers that don't need
it and/or don't recognize the attribute extension.

Thanks,

--Beman


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk