000215 some warning removal
Brown, Rodney
rodneybrown@pmsc.com
Sat Apr 1 00:00:00 GMT 2000
Title: RE: 000215 some warning removal
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
> 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
>
More information about the Gdb-patches
mailing list