Boost logo

Boost-Build :

Subject: [Boost-build] gcc visibility support patch
From: Jürgen Hunold (juergen.hunold_at_[hidden])
Date: 2010-06-04 06:15:41


Hi !

I've attached a patch to add support for gcc-4.x "visibility" to Boost.Build.
This will fix #2114.
It adds two new features, "visibility" and "visibility-inlines" which control
the corresponding gcc flags. This is necessary because these flags are othogonal
and control different behaviour. I've omitted -fvisibility-ms-compat because
this flags should not be used in new code and users can always specify those
using <cxxflags>. See http://gcc.gnu.org/wiki/Visibility for details.

Comments welcome, this is work in progress and just a "works for me" draft.

Yours,

Jürgen

-- 
* Dipl.-Math. Jürgen Hunold       ! Ingenieurgesellschaft für 
* voice: ++49 511 262926 57       ! Verkehrs- und Eisenbahnwesen mbH  
* fax  : ++49 511 262926 99       ! Lister Straße 15
* juergen.hunold_at_[hidden]        ! www.ivembh.de
* 
* Geschäftsführer:                ! Sitz des Unternehmens: Hannover
* Prof. Dr.-Ing. Thomas Siefer    ! Amtsgericht Hannover, HRB 56965
* PD Dr.-Ing. Alfons Radtke       !



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