Boost logo

Boost-Build :

From: Reece Dunn (msclrhd_at_[hidden])
Date: 2006-03-01 15:00:00

Emil Dotchevski wrote:
>I'm building under cygwin/gcc, which works great except for a small problem
>with warnings: I am specifying <cxxflags>-Wno-non-virtual-dtor, but when
>launching g++ boost-build passes that flag before -Wall. So basically, no
>warnings are disabled because -Wall re-enables them all.

It would probably be best to get the command line expansions to place
<cxxflags>, <cflags>, etc. at the end of the command line to support this
usage and other situations where the user wants flags passed directly to the
compiler to override those set by BBv2.

>As far as I can
>tell I do not specify <warnings>all anywhere in my jamfiles.

BBv2 defaults to <warnings>all. After consideration (and the fact that CW
generates a gazillion warnings in this case) it would be best to set the
default to <warnings>on.


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