[Python-Dev] Expat vs Windows
Tim Peters
tim.one@comcast.net
Wed, 13 Feb 2002 00:11:46 -0500
[Tim]
> Today I see it compiles, but generates lots of linker warnings:
> ...
Oops -- I don't look far enough. A different part still doesn't compile, at
least not in a debug build:
--------------------Configuration: pyexpat - Win32 Debug-------------------
Compiling...
xmlparse.c
C:\Code\python\Modules\expat\xmlparse.c(1329) : error C2143: syntax error :
missing ';' before 'constant'
C:\Code\python\Modules\expat\xmlparse.c(1329) : error C2115: 'return' :
incompatible types
Error executing cl.exe.
pyexpat_d.pyd - 2 error(s), 0 warning(s)
It's griping about this:
const XML_LChar *
XML_ExpatVersion(void) {
return VERSION;
}