Boost logo

Boost-Build :

From: Jonathan Turkanis (technews_at_[hidden])
Date: 2005-09-23 09:54:32


Douglas Gregor wrote:
> Do we have a resolution to the GCC 4.0 -fvisibility issue, originally
> reported by Mat Marcus at:
>
> http://lists.boost.org/Archives/boost/2005/08/92136.php
>
> ?

There's one clarification from the GCC Bugzilla
(http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23628) which I'm not sure made it
to this list. Mat Marcus was apparently mistaken when he said
that -fvisibility=hidden is the default in some cases. As I understand it, if
all components of an application are built without any -fvisibility option (and
without visibility pragmas or attributes) there should be no problem. So if
someone builds an application with Boost.Build and doesn't add any extra
compiler flags, everything's okay.

There are still some subtle issues with -fvisibility, as mentioned in the
Bugzilla, but it's not so clear that adding a symbol visibility feature will
help.

-- 
Jonathan Turkanis
www.kangaroologic.com
 

Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk