GCC4 build failure in wv

Ignacio Vazquez-Abrams ivazquez at ivazquez.net
Mon May 9 03:26:04 UTC 2005


On Sun, 2005-05-08 at 20:10 -0400, Ignacio Vazquez-Abrams wrote:
> On Sun, 2005-05-08 at 23:13 +0200, Aurelien Bompard wrote:
> > I know very little of C, and I've got a build failure with GCC4 I'd need
> > help with :
> > in the "wv" package :
> > wvConfig.c:2134: error: static declaration of 'startElement' follows
> > non-static declaration
> > /usr/include/libxml2/libxml/SAX.h:110: error: previous declaration of
> > 'startElement' was here
> > wvConfig.c:3098: error: static declaration of 'endElement' follows
> > non-static declaration
> > /usr/include/libxml2/libxml/SAX.h:113: error: previous declaration of
> > 'endElement' was here
> > 
> > In the wvConfig.c file, at line 2134 and 3098, startElement and endElement
> > are defined, in about 950 and 250 code lines respectively.
> > What should I do in this case ?
> 
> Looks like the upstream developer is abusing the compiler. I'm not
> certain whether the declarations should be changed to match the ones in
> the headers, or if the function names should be changed. Give me a few
> hours and I can look at it deeper.

Okay, give this one a try. Make sure that the app itself still works as
expected after.

-- 
Ignacio Vazquez-Abrams <ivazquez at ivazquez.net>
http://fedora.ivazquez.net/

gpg --keyserver hkp://subkeys.pgp.net --recv-key 38028b72
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wv-1.0.0-gcc4.patch
Type: text/x-patch
Size: 1215 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-extras-list/attachments/20050508/9808055b/attachment.bin>
-------------- 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-extras-list/attachments/20050508/9808055b/attachment.sig>


More information about the fedora-extras-list mailing list