4 Mar 2012 01:22
[ expat-Bugs-2978002 ] Pointer cast in tests/runtest.c
<SourceForge.net>
2012-03-04 00:22:27 GMT
2012-03-04 00:22:27 GMT
Bugs item #2978002, was opened at 2010-03-28 07:16 Message generated for change (Comment added) made by kwaclaw You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110127&aid=2978002&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: Duplicate Priority: 5 Private: No Submitted By: rubenvb (rubenvb) >Assigned to: Karl Waclawek (kwaclaw) Summary: Pointer cast in tests/runtest.c Initial Comment: Expat 2.0.1 Under mingw-w64, which uses long long (not equal to long, which is 32-bit under Windows x64) for pointers: line 1257: illegal cast to long. Should be something like long long or intptr_t for windows x64 I'm not sure about the rest of the line. If the value will not be used as a pointer anymore, the long=1+intptr_t is okay, but if the long value is used as pointer later, it will need to be adapted as well. Howto build: configure --host=x86_64-w64-mingw32 && make && make check make check passes all tests.(Continue reading)
RSS Feed