#13 Expat for Codewarrior 6.0 / Win32

closed-out-of-date
Greg Stein
None
5
2002-05-31
2001-03-29
David Crowley
No

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

Discussion

  • 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!

     
    • assigned_to: nobody --> gstein
     
    • status: open --> closed-out-of-date
     
  • 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.