rawhide report: 20050315 changes
Brian Millett
bpm at ec-group.com
Tue Mar 15 17:03:32 UTC 2005
On Tue, 2005-03-15 at 17:55 +0100, Iago Rubio wrote:
> On Tue, 2005-03-15 at 09:55 -0600, Brian Millett wrote:
> > Had to make some cosmetic patches to get it to compile with gcc4 and I
> > am sure they are "wrong" but it compiled.
> >
> > [bpm]$ diff -wruN nm-netlink-monitor.c~ nm-netlink-monitor.c
> > --- nm-netlink-monitor.c~ 2005-03-14 23:30:14.000000000 -0600
> > +++ nm-netlink-monitor.c 2005-03-15 09:39:23.000000000 -0600
> > @@ -568,10 +568,10 @@
> > NmNetlinkMonitor *monitor)
> > {
> > GError *error;
> > - gchar *received_bytes;
> > + gchar *received_bytes="";
> > gboolean processing_is_done;
> > - gsize num_received_bytes;
> > - guint num_bytes_to_process;
> > + gsize num_received_bytes=0;
> > + guint num_bytes_to_process=0;
> > struct nlmsghdr *header;
>
> Frankly, I don't see how this could fix the build.
>
> May be it's being used -Werror in the gcc command line ?
> --
> Iago Rubio
>
Why yes it is. (from Makefile)
CC = gcc
CCDEPMODE = depmode=gcc3
CFLAGS = -Wall -Werror -std=gnu89 -g -O2 -Wno-unused
-Wno-strict-aliasing -Wno-sign-compare -Wdeclaration-after-statement
-Wno-pointer-sign
CPP = gcc -E
So I do not know what or why the difference.
--
Brian Millett - [ Londo and Timov, "Soul Mates"]
"They're merely expressing their feelings for me."
'I can do that." [Timov slaps Londo]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20050315/60ab35af/attachment.sig>
More information about the fedora-devel-list
mailing list