Boost logo

Boost Users :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2007-03-26 21:30:20


Stephen Torri wrote:

> When I add the BOOST_SP_ENABLE_DEBUG_HOOKS to the compile flags for
> g++
> I am getting a segmentation fault when the boost::format lines in my
> code are executed. Yet when I compile without it I don't. Here is the
> output from my project that is in development. It gives me a error
> from the parser.

[...]

> When I compile it with BOOST_SP_ENABLE_DEBUG_HOOKS it fails with the
> segfault:

[...]

> Any suggestions how I can use the flag and the code to debug my original
> problem without causing a new one?

None at the moment, but if you post a minimal example that causes the
problem, I'll take a look at it. I've tried just using boost::format as in
your code with sp_debug_hooks, but it appears to work (with g++ 3.4.4 and
MSVC 7.1).


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net