[ expat-Patches-412072 ] Expat for Codewarrior 6.0 / Win32

noreply@sourceforge.net noreply@sourceforge.net
Thu May 30 21:08:04 2002


Patches item #412072, was opened at 2001-03-28 21:40
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=310127&aid=412072&group_id=10127

Category: None
Group: None
>Status: Closed
>Resolution: Out of Date
Priority: 5
Submitted By: David Crowley (dcrowley)
Assigned to: Greg Stein (gstein)
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: 2002-05-31 00:07

Message:
Logged In: YES 
user_id=3066

Closed due to non-response from the submitter to the previous comment 
and the changes to the Windows support in recent months.

If 
further changes are needed relative to the CVS version or the upcoming 
1.95.3, please comment on this report or open a new report.

----------------------------------------------------------------------

Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2001-07-25 17: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