This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: patch to supress trailing missing initializer warnings
- To: egcs at cygnus dot com (egcs at cygnus dot com)
- Subject: Re: patch to supress trailing missing initializer warnings
- From: Carlo Wood <carlo at runaway dot xs4all dot nl>
- Date: Sat, 8 Aug 1998 17:00:27 +0200 (CEST)
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>