|
Boost-Build : |
From: Jürgen Hunold (hunold_at_[hidden])
Date: 2005-06-24 03:32:31
Hi !
I've finally taken some time to analyse my remaining NT problems.
Here's the first:
Due to some 3rdparty library, I've got a project to be built with
<exception-handling>off
This leads to
e:/libraries/boost_cvs/tools/build/v2/build\feature.jam:669: in
expand-composites from module feature
error: explicitly-specified values of non-free feature
<asynch-exceptions> conflict
error: existing values: off on
error: value from expanding <asynch-exceptions>on : (x:G=)
(full trace in exception.txt attached)
This boils down to Boost.Test,
which contains
alias minimal : : : :
<toolset>msvc:<asynch-exceptions>on
which Boost.Build tries to build, because it is not explicit.
The attached patch (Jamfile.v2.diff) corrects this.
When compiling another project I get (shortened output from bjam -d+2)
msvc.compile.c++ ..\..\..
\build\xxx\msvc-7.1\develop\asynch-exceptions-on\baseio.obj
call "c:/Programme/Microsoft Visual Studio .NET
2003/Vc7\bin\vcvars32.bat" > nul
cl /Zm800 -nologo
-TP /Zi /Ob2 /GR /MD /Zc:forScope /Zc:wchar_t /Ogity /O2 /Gs /EHs /EHa
-wd4675 /EHc- /WX @"..\..\..
cl : Command line warning D4025 : overriding '/EHs' with '/EHa'
baseio.cpp
This is clearly a misconfiguration and also fixed by the patch.
Yours,
Jürgen
-- * Dipl.-Math. Jürgen Hunold ! Institut für Verkehrswesen, Eisenbahnbau * voice: ++49 511 762-2529 ! und -betrieb, Universität Hannover * fax : ++49 511 762-3001 ! Appelstrasse 9a, D-30167 Hannover * hunold_at_[hidden] ! www.ive.uni-hannover.de --Boundary-00=_fU8uCAB4L3QQaJw Content-Type: text/plain; charset="utf-8"; name="exception.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="exception.txt" warning: Python location is not configured warning: the Boost.Python library won't be built Building Boost.Regex with the optional Unicode/ICU support disabled. Please refer to the Boost.Regex documentation for more information (and if you don't know what ICU is then you probably don't need it). e:/libraries/boost_cvs/tools/build/v2/build\feature.jam:669: in expand-composites from module feature error: explicitly-specified values of non-free feature <asynch-exceptions> conflict error: existing values: off on error: value from expanding <asynch-exceptions>on : (x:G=) e:/libraries/boost_cvs/tools/build/v2/build\feature.jam:749: in feature.expand from module feature e:/libraries/boost_cvs/tools/build/v2/build\property-set.jam:164: in object(property-set)@183.expand from module object(property-set)@183 e:/libraries/boost_cvs/tools/build/v2/build\targets.jam:723: in object(main-target)@20.generate from module object(main-target)@20 e:/libraries/boost_cvs/tools/build/v2/build\targets.jam:886: in targets.generate-from-reference from module targets e:/libraries/boost_cvs/tools/build/v2/build\targets.jam:1080: in generate-dependencies from module object(alias-target-class)@4 e:/libraries/boost_cvs/tools/build/v2/build\targets.jam:1186: in basic-target.compute-usage-requirements from module object(alias-target-class)@4 e:/libraries/boost_cvs/tools/build/v2/build\alias.jam:51: in compute-usage-requirements from module object(alias-target-class)@4 e:/libraries/boost_cvs/tools/build/v2/build\targets.jam:1150: in object(alias-target-class)@4.generate from module object(alias-target-class)@4 e:/libraries/boost_cvs/tools/build/v2/build\targets.jam:757: in generate-really from module object(main-target)@21 e:/libraries/boost_cvs/tools/build/v2/build\targets.jam:730: in object(main-target)@21.generate from module object(main-target)@21 e:/libraries/boost_cvs/tools/build/v2/build\targets.jam:886: in targets.generate-from-reference from module targets e:/libraries/boost_cvs/tools/build/v2/build\targets.jam:1080: in generate-dependencies from module object(typed-target)@46 e:/libraries/boost_cvs/tools/build/v2/build\targets.jam:1118: in object(typed-target)@46.generate from module object(typed-target)@46 e:/libraries/boost_cvs/tools/build/v2/build\targets.jam:757: in generate-really from module object(main-target)@1 e:/libraries/boost_cvs/tools/build/v2/build\targets.jam:730: in object(main-target)@1.generate from module object(main-target)@1 e:/libraries/boost_cvs/tools/build/v2/build\targets.jam:252: in object(project-target)@33.generate from module object(project-target)@33 e:/libraries/boost_cvs/tools/build/v2\build-system.jam:265: in load from module build-system e:\libraries\boost_cvs\tools\build\v2\kernel\modules.jam:259: in import from module modules e:\libraries\boost_cvs\tools\build\v2\kernel\bootstrap.jam:153: in boost-build from module e:\develop\boost-build.jam:1: in module scope from module --Boundary-00=_fU8uCAB4L3QQaJw Content-Type: text/x-diff; charset="utf-8"; name="Jamfilev.v2.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="Jamfilev.v2.diff" Index: build/Jamfile.v2 =================================RCS file: /cvsroot/boost/boost/libs/test/build/Jamfile.v2,v retrieving revision 1.9 diff -u -5 -p -r1.9 Jamfile.v2 --- build/Jamfile.v2 11 Jun 2005 06:46:44 -0000 1.9 +++ build/Jamfile.v2 24 Jun 2005 08:26:16 -0000 @@ -65,6 +65,8 @@ lib boost_unit_test_framework : $(UTF_SO : <toolset>borland:<cxxflags>-w-8080 ; alias minimal : : : : <toolset>msvc:<asynch-exceptions>on - ; \ No newline at end of file + ; + +explicit minimal ; --Boundary-00=_fU8uCAB4L3QQaJw--
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