This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: -Wsurprising documentation bug?
- To: pderbysh at usa dot net
- Subject: Re: -Wsurprising documentation bug?
- From: craig at jcb-sc dot com
- Date: 20 Feb 1999 14:22:53 -0000
- Cc: egcs at egcs dot cygnus dot com
- Cc: craig at jcb-sc dot com
- References: <3.0.6.32.19990220090921.008e0360@pop.globalserve.net>
>I just read the info file warning options node and -Wsurprising isn't
>mentioned there at all. ("info gcc invoking" and then opened the "Warning
>options" node.)
I think what you missed was that Toon was showing a *g77*
invocation. Try the g77 docs.
And, IMO, at some point we need to look into provide hooks into the
gcc documentation (xrefs and/or snarfing in chunks of stuff) for
the front ends to use, a la config-lang.in, lang-specs.h, and
lang-options.h. (I might take that on, after 1.2, if nobody else
gets really excited about doing it.)
If the docs were improved in this way, you'd have found the description
of the option, with at least an xref to the g77 docs, if not the
actual description.
In the meantime, `gcc --verbose --help' isn't a bad alternative!
(As of egcs 1.2 only, IIRC.)
tq vm, (burley)