Boost logo

Boost :

From: Hartmut Kaiser (HartmutKaiser_at_[hidden])
Date: 2005-02-14 01:29:41

Joel de Guzman wrote:

> 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\ 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"

There is still the /GR option (enable rtti) on the command line. The
'<toolset>vc-7_1:<rtti>off' option should switch this off (at least it does
for the library itself ?-).

> ...failed msvc.compile.c++
> ..\..\..\bin.v2\libs\wave\build\msvc\debug\instantiat
> e_cpp_grammar.obj...
> Did I do something wrong?

Could you double check please, that you've added the ':
<toolset>vc-7_1:<rtti>off' to the Jamfile.v2? For instance the Jamfile for
the quick_start sample should look like:

exe quick_start
    : ../quick_start.cpp
        <toolset>vc-7_1:<rtti>off # workaround for compiler bug

Otherwise I'm out of clues :-(

Regards Hartmut

Boost list run by bdawes at, gregod at, cpdaniel at, john at