Boost logo

Boost-Build :

From: Rene Rivera (grafik.list_at_[hidden])
Date: 2005-01-23 11:03:41


Robert Ramey wrote:
> I would like to checkin the following changes to
> tools/build/v1/boost-base.jam.
>
> These are necessary in order to avoid build errors when I flow the advice in
>
> http://lists.boost.org/MailArchives/boost/msg70153.php
>
> and include the following in the Jamfile for the serialization library
> build:
>
> # certain tool sets are known apriori not to support wide char i/o
> rule wide-char-io-support ( toolset variant : properties * )
> {
> switch $(toolset) {
> case "como*" :
> properties += <build>no ;
> case "mingw*" :
> properties += <build>no ;
> case "cw*" : # codewarrior only supports wide characters in the static
> version
> }
> return $(properties) ;
> }

I made a similar change locally for testing..

===================================================================
RCS file: /cvsroot/boost/boost/libs/serialization/build/Jamfile,v
retrieving revision 1.11
diff -u -r1.11 Jamfile
--- Jamfile 12 Oct 2004 23:05:34 -0000 1.11
+++ Jamfile 23 Jan 2005 16:01:44 -0000
@@ -66,11 +66,25 @@
<runtime-link>static/dynamic <threading>single/multi
;

+rule wide-char-io-support ( toolset variant : properties * )
+{
+ switch $(toolset) {
+ case "como*" :
+ properties += <build>no ;
+ case "mingw*" :
+ properties += <build>no ;
+ case "cw*" :
+ properties += <build>no ;
+ }
+ return $(properties) ;
+}
+
lib boost_wserialization
: ## sources ##
../src/$(WSOURCES).cpp
: ## requirements ##
std::locale-support
+ wide-char-io-support

And I don't see errors when building. What errors are you talking about?
How do I reproduce them?

-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org - grafik/redshift-software.com - 102708583/icq
 

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