Boost logo

Boost :

From: Joel de Guzman (joel_at_[hidden])
Date: 2005-02-13 17:54:41


Hartmut Kaiser wrote:
>
> Joel de Guzman wrote:
>
>>+ when using bjam V2, VC7.1 fails with a buffer overrun (compiler
>> problem). No problem with bjam V1. I wanted to try the samples
>> but they don't have a V1 Jamfile, only V2. So I had to switch
>> to using g++ instead. So far so good.
>
>
> Sure they have, haven't they? I'm pretty sure that I've added V1 Jamfile's.
> But thanks for reporting the V2 problems. Please add the line
>
> : <toolset>vc-7_1:<rtti>off # workaround for compiler bug
>
> to the V2 Jamfile's, without that VC7.1 simply fails - please look at the V2
> Jamfile of the library itself for a sample
> ($BOOST_ROOT/libs/wave/build/Jamfile.v2).

Hi Hartmut,

VC7.1 still bombs with "buffer overrun". Here's the bjam output:

C:\dev\boost\libs\wave\build>bjam --v2
...found 108 targets...
...updating 5 targets...
msvc.compile.c++
..\..\..\bin.v2\libs\wave\build\msvc\debug\instantiate_cpp_gram
mar.obj
instantiate_cpp_grammar.cpp

     call "C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\bin\vcvars32.ba
t" > nul
cl /Zm800 -nologo -TP -DBOOST_ALL_NO_LIB=1 /Z7 /Od /Ob0 /EHsc /GR
/MDd -I"C
:\dev\boost" -c
-Fo"..\..\..\bin.v2\libs\wave\build\msvc\debug\instantiate_cpp_
grammar.obj" "..\src\instantiate_cpp_grammar.cpp"

...failed msvc.compile.c++
..\..\..\bin.v2\libs\wave\build\msvc\debug\instantiat
e_cpp_grammar.obj...

Did I do something wrong?

-- 
Joel de Guzman
http://www.boost-consulting.com
http://spirit.sf.net

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk