|
Boost-Build : |
Subject: Re: [Boost-build] question regarding compile time switches
From: Vladimir Prus (ghost_at_[hidden])
Date: 2010-06-02 01:53:47
On Tuesday 01 June 2010 01:47:46 Robert Ramey wrote:
> I have a very wierd situation. I run all the serialization library tests
> with the Jamfile.v2 in BOOSTROOT/libs/serialization/test/Jamfile.v2. As
> far as I can tell, for a given compiler (in this case MSVC 7.1) all
> compilations should be run with the same switches. However I discovered
> that on some tests, the /Wp64 switch is used and others not. The results in
> in comparable results in my test results. Here is what I mean:
>
> I run:
>
> bjam -n toolset=msvc-7.1 test_valarray_text_archive >t.log &
>
> and
>
> $ bjam -n toolset=msvc-7.1 test_vector_text_archive >t2.log &
>
> The console output from he above is attached.
>
> In the valarray test, there is a /WP64 switch and in the vector test there
> is no such switch.
>
> What should I do differently to get consistent results?
I am unable to read the files you have included in your email -- can you resend
them as MIME attachment, not as UUECODE something?
I don't see any reason for behaviour your observe. However -- are you sure you
are looking at compile lines in both cases, and not on linker command line
in one case? The /Wp64 switch is only used for compilation. Note that it
is also used when <warnings>all property is specified.
Thanks,
-- Vladimir Prus http://vladimir_prus.blogspot.com Boost.Build: http://boost.org/boost-build2
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