This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: When did -Wmaybe-unitialized make its appearance?
- From: Jeffrey Walton <noloader at gmail dot com>
- To: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- Cc: "gcc-help at gcc dot gnu dot org" <gcc-help at gcc dot gnu dot org>
- Date: Fri, 31 Jul 2015 06:33:19 -0400
- Subject: Re: When did -Wmaybe-unitialized make its appearance?
- Authentication-results: sourceware.org; auth=none
- References: <CAH8yC8k41KRc-Qq5WyKHs3QkqSe4druFTVA0WbJKSOBiyu_nrA at mail dot gmail dot com> <20150731082746 dot GA405 at x4> <CAH8yC8ndcZy6T3ZSr2nXvCxcYcguL0m2_ZyEXU+BWvf7z+LhhA at mail dot gmail dot com> <CAH6eHdSLooS4vwXcDhwFks6eXA_UBxz12D3Kv=-9aUKcMGSQjQ at mail dot gmail dot com> <CAH8yC8mvBNCGYkVU9-H_2XqqC7D5nJz0e0xO0+rJeJ=+BFV_Sg at mail dot gmail dot com> <CAH6eHdTAjRMkgF5MAp3t1W9NRf888RexTBqObAh7ysvGBNRQ7Q at mail dot gmail dot com>
- Reply-to: noloader at gmail dot com
>> Do you have a particular format in mind?
>
> Nope, I'm not really interested in the information :-)
>
>> Moving forward, would it be too much to ask that the documentation we
>> are creating is updated around the time the feature is checked in?
>
> Documentation already needs to be updated when a new option is added,
> so you can already check the manuals to see when it first appeared.
Yeah, I was thinking.... I prefer my info in the manual, and not as a
wiki (though I do a lot of wiki reading and writing myself).
Maybe you would be interested in GCC doc updates. Maybe something like
(from https://gcc.gnu.org/onlinedocs/gcc-5.1.0/gcc/Warning-Options.html#Warning-Options):
-WnonnullWarn (GCC 4.8)
about passing a null pointer for arguments marked
as requiring a non-null value by the nonnull function
attribute.
Or:
-WnonnullWarn
about passing a null pointer for arguments marked
as requiring a non-null value by the nonnull function
attribute. Available in GCC 4.8.
I need this intersection often. I can submit a patch every time I find
one that's not documented. Its so small, its hard to claim its too
hard to review :)
Jeff