[Expat-bugs] [ expat-Bugs-765227 ] MacOSX build error with Expat 1.95.6 (included with PyXML)

SourceForge.net noreply at sourceforge.net
Thu Jul 3 04:32:38 EDT 2003


Bugs item #765227, was opened at 2003-07-03 12:32
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=765227&group_id=10127

Category: Build control
Group: Platform Specific
Status: Open
Resolution: None
Priority: 5
Submitted By: David Kaasen (davidkaasen)
Assigned to: Greg Stein (gstein)
Summary: MacOSX build error with Expat 1.95.6 (included with PyXML)

Initial Comment:
I had trouble with the expat 1.95.6 that is included
with PyXML
0.8.2 on MacOSX 10.2.6. The build of PyXML gave error
messages
(but didn't halt) when compiling xmltok.c. It appears to be
problems with the macros FASTCALL, PTRCALL and PTRFASTCALL
in internal.h. Defining these to nothing made the
compile succeed.
Here is the diff output:

*** PyXML-0.8.2/extensions/expat/lib/internal.h~      
 Sat Jan 25 12:18:09 2003
--- PyXML-0.8.2/extensions/expat/lib/internal.h Thu Jul
 3 11:12:36 2003
***************
*** 27,33 ****
--- 27,36 ----
     and let's try this:
  */
+ /* It doesn't work on MacOSX (__MACH__ and __APPLE__
== MacOSX). */
+ #if !(defined(__MACH__) && defined(__APPLE__))
  #define FASTCALL __attribute__((regparm(3)))
  #define PTRCALL
  #define PTRFASTCALL __attribute__((regparm(3)))
+ #endif /* Not MacOSX */
  
  #elif defined(WIN32)


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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=765227&group_id=10127



More information about the Expat-bugs mailing list