Boost logo

Boost-Build :

From: Doug Gregor (dgregor_at_[hidden])
Date: 2005-04-21 10:17:30

There's one source file (.cpp) in the Graph library that causes
numerous compilers to loop, crash, or just plain generate bad code. The
only workaround I've found is to be very picky about how this file is

- On Darwin's GCC, we need to compile without inlining, even in
release mode.
- On MSVC 7.1, we need to compile without optimization and without

Is there a way with BBv1 to force these options for a particular file,
but still be able to build "debug" or "release" for the rest of the
files? If necessary, it's okay to put these options on an entire
library, so long as other libraries that link against it don't pick up
the pessimizations.

To be really specific, I'm talking about
libs/graph/src/read_graphviz_spirit.cpp, which is build as part of the
library libbgl-viz (see Jamfile in libs/graph/build) and linked into
the BGL-Python bindings (libs/graph/build/python/Jamfile).

Thanks in advance :)



Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at