bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Latest CVS make compile warnings fix


From: J. Grant
Subject: Re: Latest CVS make compile warnings fix
Date: Sat, 23 Jul 2005 22:56:58 +0100
User-agent: Mozilla/5.0 (X11; U; GNU/Linux i686; en; rv:1.7.8) Gecko/20050513 Debian/1.7.8-1

Hi Paul,

[...]
  jg> main.c:420: warning: missing initializer
  jg> main.c:420: warning: (near initialization for `switches[30].type')

This one, IMO, could be a bug in GCC.  As far as I can tell the
initializer is correct.  The only way to avoid the warning seems to be
to put a full suite of 0 initializations into the last element.  But
that shouldn't be necessary, if I remember my ISO standard properly.

It it would not do any harm, perhaps we could consider filling in the
missing entries with 0?

Kind regards
JG




reply via email to

[Prev in Thread] Current Thread [Next in Thread]