[ expat-Bugs-497193 ] xmlparse.c compile failure on Windows

noreply@sourceforge.net noreply@sourceforge.net
Thu Dec 27 16:23:13 2001


Bugs item #497193, was opened at 2001-12-27 16:20
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=110127&aid=497193&group_id=10127

Category: Build control
Group: Platform Specific
Status: Open
Resolution: None
Priority: 5
Submitted By: Mike Brown (mike_j_brown)
Assigned to: Greg Stein (gstein)
Summary: xmlparse.c compile failure on Windows

Initial Comment:
I encountered the following error while trying to 
build PyXML-0.7.0 from source on Windows 2000, with 
Python 2.1.1 installed. I didn't get this error when 
trying to build under Python 2.2. I am using Visual C 
98.

building '_xmlplus.parsers.pyexpat' extension
creating build\temp.win32-2.1
creating build\temp.win32-2.1\Release
C:\_Apps\VisualC\VC98
\Bin\cl.exe /c /nologo /Ox /MD /W3 /GX -DHAVE_EXPAT_H -
DVERSION="1.95.2" -DXML_NS=1 -DXML_DTD=1 -
DXML_BYTE_ORDER=12 -DXML_CONTEXT_BYTES=1024 -
Iextensions/expat/lib -IC:\Python21
\Include /Tcextensions/pyexpat.c /Fobuild\temp.win32-
2.1\Release\pyexpat.obj
pyexpat.c
C:\_Apps\VisualC\VC98
\Bin\cl.exe /c /nologo /Ox /MD /W3 /GX -DHAVE_EXPAT_H -
DVERSION="1.95.2" -DXML_NS=1 -DXML_DTD=1 -
DXML_BYTE_ORDER=12 -DXML_CONTEXT_BYTES=1024 -
Iextensions/expat/lib -IC:\Python21
\Include /Tcextensions/expat/lib/xmlparse.c /Fobuild\te
mp.win32-2.1\Release\xmlparse.obj
xmlparse.c
extensions/expat/lib/xmlparse.c(1329) : error C2143: 
syntax error : missing ';' before 'constant'
extensions/expat/lib/xmlparse.c(1329) : error 
C2115: 'return' : incompatible types
error: command 'cl.exe' failed with exit status 2


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

>Comment By: Mike Brown (mike_j_brown)
Date: 2001-12-27 16:22

Message:
Logged In: YES 
user_id=371366

Sorry; I meant to post this to the PyXML project.

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

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