xmlparse.c contains a cast from const XML_Char* to XML_Char* which newer versions of gcc don't like at all.
cc1: warnings being treated as errors
src/external/expat-2.0.0/lib/xmlparse.c: In function 'doProlog':
src/external/expat-2.0.0/lib/xmlparse.c:3771: warning: passing
argument 1 of 'normalizePublicId' discards qualifiers from pointer target type
make: *** [obj/src/external/expat-2.0.0/lib/xmlparse.o] Error 1
Thus I devised the attached work-around.
Regards, Thomas Jahns
Log in to post a comment.