This is the mail archive of the gcc@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]

Re: patch to supress trailing missing initializer warnings


I wrote:
| The advantage of case D or case C sits in column 6: It catches errors
                          ^^__ over
| where the programmer forgot one initializer.  In the case he is too lazy
| to add that extra single zero to the end of the initializer list, he
| will get a warning that he can get ONLY rid of by either turning off
| all warnings (case A) or by adding that zero.  I think that the advantage
| of catching the missed warning in column 6 out weights the annoyance
| of having to add that zero

-- 
 Carlo Wood  <carlo@runaway.xs4all.nl>


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