This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: new option -Wno-maybe-uninitialized


On Fri, Apr 22, 2011 at 3:52 AM, Richard Guenther
<richard.guenther@gmail.com> wrote:


>> Maybe-uninitialized matches case 3) -- different from case 2 which is
>> actually 'maybe-used-uninitialized'.
>
> Other diagnostics use a level to indicate their noise level. ?So, why not
> do something like -Wuninitialized=N, with N from 1 to 3, covering all
> three cases.

because numbers are good for machines, but terrible as user-interface :-)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]