SourceForge.net
2012-03-03 19:38:18 UTC
Bugs item #1785430, was opened at 2007-08-31 01:50
Message generated for change (Settings changed) made by kwaclaw
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=1785430&group_id=10127
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: Platform Specific
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Karl Waclawek (kwaclaw)
Summary: expat build fails on linux-amd64 with gcc version>=4.1 -O3
Initial Comment:
Hi,
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
----------------------------------------------------------------------
Comment By: Karl Waclawek (kwaclaw)
Date: 2009-01-17 08:40
Message:
Is anyone testing this? I'd like to close this issue.
----------------------------------------------------------------------
Comment By: Karl Waclawek (kwaclaw)
Date: 2007-09-03 09:35
Message:
Logged In: YES
user_id=290026
Originator: NO
Fixed in xmlparse.c 1.1.62. Please check out from CVS and test!
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=1785430&group_id=10127
Message generated for change (Settings changed) made by kwaclaw
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=1785430&group_id=10127
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: Platform Specific
Status: Closed
Resolution: FixedPriority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Karl Waclawek (kwaclaw)
Summary: expat build fails on linux-amd64 with gcc version>=4.1 -O3
Initial Comment:
Hi,
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
----------------------------------------------------------------------
Comment By: Karl Waclawek (kwaclaw)
Date: 2009-01-17 08:40
Message:
Is anyone testing this? I'd like to close this issue.
----------------------------------------------------------------------
Comment By: Karl Waclawek (kwaclaw)
Date: 2007-09-03 09:35
Message:
Logged In: YES
user_id=290026
Originator: NO
Fixed in xmlparse.c 1.1.62. Please check out from CVS and test!
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=1785430&group_id=10127