Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-11-22 02:52:44


Hi Juergen,
> Hi !
>
> When using stdlib=stlport, bjam issues out some spurios warnings
>
> warning: targets produced from stlport are link incompatible
> warning: with main target a.exe

Ah... those "link incompatible" check should be considered a failed
experiment. It used to produce pointless warnings in other circumstances, so
was disable almost everywhere, but stlport was not changed...

I've just comitted the attached patch, which should fix it.

- Volodya
 --Boundary-00=_MrZoBu1MqXpbN5T Content-Type: text/x-diff;
charset="iso-8859-1";
name="stlport.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="stlport.diff"

Index: builtin.jam
===================================================================
RCS file: /cvsroot/boost/boost/tools/build/v2/tools/builtin.jam,v
retrieving revision 1.154
diff -u -r1.154 builtin.jam
--- builtin.jam 12 Nov 2004 08:11:14 -0000 1.154
+++ builtin.jam 22 Nov 2004 07:51:08 -0000
@@ -30,7 +30,7 @@

feature toolset : : implicit propagated symmetric ;

-feature stdlib : native : propagated link-incompatible composite ;
+feature stdlib : native : propagated composite ;

feature link : shared static : propagated ;
feature link-runtime : shared static : propagated ;
Index: stlport.jam
===================================================================
RCS file: /cvsroot/boost/boost/tools/build/v2/tools/stlport.jam,v
retrieving revision 1.13
diff -u -r1.13 stlport.jam
--- stlport.jam 31 Mar 2004 06:53:56 -0000 1.13
+++ stlport.jam 22 Nov 2004 07:51:08 -0000
@@ -55,7 +55,7 @@
feature.extend stdlib : stlport ;
feature.compose <stdlib>stlport : <library>/stlport//stlport ;

-subfeature stdlib stlport : version : : optional propagated link-incompatible ;
+subfeature stdlib stlport : version : : optional propagated ;

# STLport iostreams or native iostreams
subfeature stdlib stlport : iostream : hostios : optional propagated ;
 --Boundary-00=_MrZoBu1MqXpbN5T--


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