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: Manuel LÃpez-IbÃÃez <lopezibanez at gmail dot com>
- Cc: Jonathan Wakely <jwakely dot gcc at gmail dot com>, GCC-help <gcc-help at gcc dot gnu dot org>
- Date: Fri, 31 Jul 2015 07:11:54 -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> <CAH8yC8kyVzrvqGxFvw+F_=NQE2mPcMcB8Xag29=sJkntUQR4jg at mail dot gmail dot com> <55BB5722 dot 7050504 at gmail dot com>
- Reply-to: noloader at gmail dot com
>>>> Do you have a particular format in mind?
>>
>> -WnonnullWarn (GCC 4.8)
>> about passing a null pointer for arguments marked
>> as requiring a non-null value by the nonnull function
>> attribute.
>
>
> If we are into bike-shedding :), I'd prefer something like:
>
> -Wnonnull (since GCC 4.8)
> Warn about passing a null pointer for arguments marked
> as requiring a non-null value by the nonnull function
> attribute.
Yeah, that's good too. I like it.
All the information is available, and it follows the general terseness
of a man page. Folks can get-in and then get-out quickly by reading
only the relevant section or topic (and not digest a big table at the
end of a document).
Jeff