From: Hartmut Kaiser (hartmut.kaiser_at_[hidden])
Date: 2005-05-26 07:19:55
IIRC, removing the /GR switch (generate RTTI) should solve the problem.
But the Wave jamfiles in the Boost CVS:HEAD should work fine, didn't they?
Anyway, I'll retry to compile it today based on the Boost 1.32 release.
Are you using Build V1 or V2? Joel reported the error went away after
switching to the V1 Jamfiles.
> Attempting to BUILD WAVE, I have spent the last few hours
> (midnight til
> 5am) searching the archives and trying different things. (
> the below email is the exact problem I am having)
> I have tried both the review version of wave and the one in
> CVS applied to the 1.32 release. I am using vc7.1
> Has anyone found the issue below yet?
> Many thanks,
> > -----Original Message-----
> > From: boost-bounces_at_[hidden]
> > On Behalf Of Joel de Guzman
> > Sent: Sunday, February 13, 2005 2:55 PM
> > To: boost_at_[hidden]
> > Subject: [boost] Re: Wave review
> > Hartmut Kaiser wrote:
> > >
> > > Joel de Guzman wrote:
> > >
> > >>+ when using bjam V2, VC7.1 fails with a buffer overrun
> > >> 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
> > 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
> > _______________________________________________
> > Unsubscribe & other changes:
> > http://lists.boost.org/mailman/listinfo.cgi/boost
> Unsubscribe & other changes:
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk