GCC4 build failure in wv

Ignacio Vazquez-Abrams ivazquez at ivazquez.net
Mon May 9 00:10:00 UTC 2005


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.

-- 
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: 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/87f3c394/attachment.sig>


More information about the fedora-extras-list mailing list