Also works for me on latest expat CVS d/l just now with VC 6.0sp5(or sp6?) David LeBlanc Seattle, WA USA > -----Original Message----- > From: python-dev-admin@python.org [mailto:python-dev-admin@python.org]On > Behalf Of Tim Peters > Sent: Saturday, January 25, 2003 18:39 > To: PythonDev > Subject: [Python-Dev] xmlparse.c no longer compiles on Windows > > > It starts with this: > > /* Handle the case where memmove() doesn't exist. */ > #ifndef HAVE_MEMMOVE > #ifdef HAVE_BCOPY > #define memmove(d,s,l) bcopy((s),(d),(l)) > #else > #error memmove does not exist on this platform, nor is a substitute > available > #endif /* HAVE_BCOPY */ > #endif /* HAVE_MEMMOVE */ > > > memmove() is a std C function, and Python requires std C, so there's no > point to this block. Neither of the symbols are defined on Windows, and I > don't want to define them -- other parts of Python use memmove() freely > (like listobject.c). > > > If that's ripped out, there are lots of syntax errors in xmlparse.c (over > 100, at which point the compiler gives up on it). They have the character > of cascading msgs due to some macro confusion; the first one is here: > > typedef struct prefix { > const XML_Char *name; > BINDING *binding; > } PREFIX; The error msg points to this line > > and gives the unhepful msg > > C:\Code\python\Modules\expat\xmlparse.c(142) : error C2059: syntax > error : 'string' > > I assume this is because PREFIX is a macro used by Modules/getpath.c, and > PC/pyconfig.h defines it like so: > > #define PREFIX "" > > > _______________________________________________ > Python-Dev mailing list > Python-Dev@python.org > http://mail.python.org/mailman/listinfo/python-dev
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4