Boost logo

Boost-Build :

From: Steve M. Robbins (steve_at_[hidden])
Date: 2008-02-18 01:26:48


Hi,

On Sat, Feb 16, 2008 at 04:22:44PM +0100, Jurko Gospodneti? wrote:

> I did do 'gcc -v --help' on my cygwin gcc installation and it listed
> the -frtti option but no -fno-rtti. Many other -fno-XXX options are
> listed expliclitly so I assume there is no general rule that each -fXXX
> option has its corresponding -fno-XXX option.

I realize you have resolved the issue, but just thought I'd throw in a
tidbit from the GCC manual ("man gcc"):

       Many options have long names starting with -f or with -W -- for
       example, -fmove-loop-invariants, -Wformat and so on. Most of
       these have both positive and negative forms; the negative form
       of -ffoo would be -fno-foo. This manual documents only one of
       these two forms, whichever one is not the default.

So we still don't know what the general rule is, but absence of
documentation does not imply absence of the -fno-XXX flag.

-Steve




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