|
Boost : |
From: Hartmut Kaiser (hartmut.kaiser_at_[hidden])
Date: 2005-12-04 16:05:18
> Vambola Kotkas wrote:
Here's a quick followup.
> > Finally ... fair test for preprocessor is if it
> preprocesses its own
> > code.
> > That makes wave to crash with "unexpected exception caught."
> > Various sets of -P and -D options make it to crash in
> various places.
> > I did not manage to find a good set of options so it does
> not crash.
> > How to compile debug version of wave with vc7.1?
>
> bjam "-sBUILD=<debug>" ...
>
> ?
>
> > Without debugging it is hard to further track down what is
> going on
> > there. I tried the wave in boost 1.33.0.
>
> Frankly speaking, I haven't done this for a long time. So I
> tried today and got several errors/warnings reported by Wave
> (which I have to investigate further), but I didn't get any
> segfault! I'll report on this list with my findings.
>
> Could you please elaborate on which compiler you used to
> generate Wave, which command line options did you use?
I completely rebuilt wave from the scratch (VC7.1) and I'm now able to
cleanly preprocess the wave code itself. The warnings mentioned above occur
only when --variadics isn't specified, but I didn't investigate this
further. Just in case you're using VC7.1 here are my command line options:
-I.
-SC:\CVS\boost
-SC:\Program Files\Microsoft Visual Studio .NET 2003\VC7\INCLUDE
-D_WIN32
--long_long
--variadics
HTH
Regards Hartmut
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk