This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: 000215 some warning removal
- To: "Brown, Rodney" <rodneybrown at pmsc dot com>
- Subject: Re: 000215 some warning removal
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Mon, 21 Feb 2000 12:35:32 +1100
- CC: gdb-patches at sourceware dot cygnus dot com
- Organization: Cygnus Solutions
- References: <9150F3E779F0D211BD370008C733141C38AADD@aus-msg-02.au.pmsc.com>
> "Brown, Rodney" wrote:
>
> Using gcc-2.95.2 with the default configury, => -Wall
> you get
> warning: missing initializer
> warning: (near initization for `memory_read_packet_config.size')
>
> Give the use of these ones it's of doubtfull benefit.
> For bfd/som.c you get deluged by warnings
I'll let this change slip.
Andrew
> > Rodney Brown wrote:
> >
> > > --- gdb/remote.c.orig Wed Feb 9 19:52:47 2000
> > > +++ gdb/remote.c Thu Feb 17 16:18:46 2000
> > > @@ -425,6 +425,8 @@
> > > static struct memory_packet_config memory_write_packet_config =
> > > {
> > > "memory-write-packet-size",
> > > + 0L,
> > > + 0
> > > };
> > >
> > > static void
> > > @@ -448,6 +450,8 @@
> > > static struct memory_packet_config memory_read_packet_config =
> > > {
> > > "memory-read-packet-size",
> > > + 0L,
> > > + 0
> > > };
> > >
> > > static void
> >
> > Um, these have me puzzled. Are complete initializers required?
> >
> > Andrew
> >