From: pfrants (patrick_at_[hidden])
Date: 2003-10-07 11:18:32
Is it possible in V2? Would be a reason to start using it :-)
--- In jamboost_at_[hidden], David Abrahams <gclbb-jamboost_at_m...>
> "pfrants" <patrick_at_q...> writes:
> > Hi,
> > First of all: I am still using V1.
> > I stumble upon a bug in one of the libstdc++ library header
> > which involves inline assembler. The problem is that the code
> > compiles (gcc) fine with optimization levels 1 to 3, but using
> > 0 results in incorrect behaviour.
> > I wrapped the call to these functions in one source file
> > root/QBase/OS/InterlockedFunctions.cpp. My goal is to prevent
> > from using the -Oo flag on this source file. I could find no
> > references to turning certain flags on or off for specific source
> > files in the documentation or this yahooo group. How can I
> > goal?
> There's no way to do it on a file-by-file basis. You can split the
> file out into a separate static library and use <debug><cxxflags>-
> Dave Abrahams
> Boost Consulting
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk