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 ivazquez net> http://fedora.ivazquez.net/ gpg --keyserver hkp://subkeys.pgp.net --recv-key 38028b72
Attachment:
signature.asc
Description: This is a digitally signed message part