Wave Bjam building problems\Joel de Guzman -did you ever find a solution?

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, Brian
-----Original Message----- From: boost-bounces@lists.boost.org [mailto:boost-bounces@lists.boost.org] On Behalf Of Joel de Guzman Sent: Sunday, February 13, 2005 2:55 PM To: boost@lists.boost.org Subject: [boost] Re: Wave review
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
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
Jamfile's. 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

Brian, 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. Regards Hartmut
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,
Brian
-----Original Message----- From: boost-bounces@lists.boost.org [mailto:boost-bounces@lists.boost.org] On Behalf Of Joel de Guzman Sent: Sunday, February 13, 2005 2:55 PM To: boost@lists.boost.org 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
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
(compiler the samples 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: http://lists.boost.org/mailman/listinfo.cgi/boost
participants (2)
-
Brian Braatz
-
Hartmut Kaiser