[ expat-Patches-412072 ] Expat for Codewarrior 6.0 / Win32
noreply@sourceforge.net
noreply@sourceforge.net
Wed, 25 Jul 2001 14:12:22 -0700
Patches item #412072, was opened at 2001-03-28 18:40
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=310127&aid=412072&group_id=10127
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: David Crowley (dcrowley)
Assigned to: Nobody/Anonymous (nobody)
Summary: Expat for Codewarrior 6.0 / Win32
Initial Comment:
I am forwarding some patches I got from Aleksander
Slominski <aslom at cs.indiana.edu>:
.
.
.
now about EXPAT in all files: xmlparse.c, xmlrole.c,
xmltok.c add at top
following line to make sure to include correct config
file:
#if defined(__MWERKS__) && defined(__INTEL__)
#define COMPILED_FROM_DSP
#endif
but xmlparse.c must be expanded to contain:
#if defined(__MWERKS__) && defined(__INTEL__)
#define COMPILED_FROM_DSP
#define VERSION "expat_1.95.1"
#include <stddef.h>
#define offsetof(BLOCK, s) (size_t) &(((BLOCK *) 0)->s)
#endif
and also ELEMENT_TYPE somehow get wrongly declared but
as is used only in
this file just do search/replace to X_ELEMENT_TYPE
also do not include in compilation xmltok_ns* and
xmltok_impl.c as those are
really include files...
i also attach modified files
thanks,
alek
--
Aleksander Slominski, LH 316, IU,
http://www.extreme.indiana.edu/~aslom
----------------------------------------------------------------------
>Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2001-07-25 14:12
Message:
Logged In: YES
user_id=3066
You don't say what version of Expat you're using. I've revamped the Windows support a bit, but it may still have problems with the Borland compiler.
If the problems persist with the CVS version of Expat or the upcoming 1.95.2 release, please add a comment to that effect on this bug report with as much detail as possible -- thanks!
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=310127&aid=412072&group_id=10127