Jason - Here are some of the errors I'm seeing now with Xerces-C 1.5.2 and
Xerces-P 1.5.7:

C:\Xerces\Xerces-P\XML-Xerces-1.5.7>nmake

Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

        NMAKE -C Handler static
        cl -c -I. -IC:\Xerces\Xerces-C\xerces-c1_5_2-win32\include\idom
-IC:\Xer
ces\Xerces-C\xerces-c1_5_2-win32\include -IC:\Perl\lib\CORE -D_REENTRANT
-DWIN32
 -O1 -MD -DNDEBUG    -DVERSION=\"1.5.7\"  -DXS_VERSION=\"1.5.7\"
-IC:\Perl\lib\
CORE  Xerces.c
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8168 for 80x86
Copyright (C) Microsoft Corp 1984-1998. All rights reserved.

Xerces.c
C:\Xerces\Xerces-C\xerces-c1_5_2-win32\include\util/Compilers/VCPPDefs.hpp(1
83)
: error C2061: syntax error : identifier 'IDOM_Document'
C:\Xerces\Xerces-C\xerces-c1_5_2-win32\include\util/Compilers/VCPPDefs.hpp(1
83)
: error C2059: syntax error : ';'
C:\Xerces\Xerces-C\xerces-c1_5_2-win32\include\util/Compilers/VCPPDefs.hpp(1
84)
: error C2054: expected '(' to follow 'inline'
C:\Xerces\Xerces-C\xerces-c1_5_2-win32\include\util/Compilers/VCPPDefs.hpp(1
84)
: error C2085: 'operator' : not in formal parameter list
C:\Xerces\Xerces-C\xerces-c1_5_2-win32\include\util/Compilers/VCPPDefs.hpp(1
84)
: error C2146: syntax error : missing ',' before identifier 'delete'
C:\Xerces\Xerces-C\xerces-c1_5_2-win32\include\util/Compilers/VCPPDefs.hpp(1
84)
: error C2143: syntax error : missing ';' before '('
C:\Xerces\Xerces-C\xerces-c1_5_2-win32\include\util/Compilers/VCPPDefs.hpp(1
84)
: error C2059: syntax error : ')'
C:\Xerces\Xerces-C\xerces-c1_5_2-win32\include\sax/InputSource.hpp(100) :
error
C2061: syntax error : identifier 'BinInputStream'
C:\Xerces\Xerces-C\xerces-c1_5_2-win32\include\sax/InputSource.hpp(100) :
error
C2059: syntax error : ';'
C:\Xerces\Xerces-C\xerces-c1_5_2-win32\include\sax/InputSource.hpp(133) :
error
C2054: expected '(' to follow 'class'
C:\Xerces\Xerces-C\xerces-c1_5_2-win32\include\sax/InputSource.hpp(134) :
error
C2085: 'InputSource' : not in formal parameter list
C:\Xerces\Xerces-C\xerces-c1_5_2-win32\include\sax/InputSource.hpp(134) :
error
C2143: syntax error : missing ';' before '{'
C:\Xerces\Xerces-C\xerces-c1_5_2-win32\include\sax/InputSource.hpp(334) :
error
C2054: expected '(' to follow 'inline'
C:\Xerces\Xerces-C\xerces-c1_5_2-win32\include\sax/InputSource.hpp(334) :
error
C2085: 'InputSource' : not in formal parameter list
C:\Xerces\Xerces-C\xerces-c1_5_2-win32\include\sax/InputSource.hpp(334) :
error
C2143: syntax error : missing ';' before ':'
C:\Xerces\Xerces-C\xerces-c1_5_2-win32\include\sax/InputSource.hpp(339) :
error
C2054: expected '(' to follow 'inline'
C:\Xerces\Xerces-C\xerces-c1_5_2-win32\include\sax/InputSource.hpp(339) :
error
C2085: 'InputSource' : not in formal parameter list
C:\Xerces\Xerces-C\xerces-c1_5_2-win32\include\sax/InputSource.hpp(339) :
error

I've tried to include IDOM_Document.hpp, and the idom directory is in my
include path, not sure why it's complaining about this.

Thanks,
Mark

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 26, 2001 10:30 AM
To: [EMAIL PROTECTED]
Subject: Re: Xerces-P and Win2k


"Mark Riehl" <[EMAIL PROTECTED]> writes:

> All - Tracked down this error, -DWIN32 solves the threads problems, but
> there are lots of other issues.

Ahh... That's good to know at least.

What do the problems look like now?

> > Xerces.c(482) : fatal error C1083: Cannot open include file: 
> > 'strstream.h':
> > No s
> > uch file or directory

Thanks for finding this one. In Xerces.C you'll find two includes
around line 482, one for iostream.h and one for strstream.h you can
delete them both.

> > Questions -
> > 1. Are the nightly binaries of Xerces-C built with 
> > multithreaded support?

Yes, I believe they are. 

> > 2. I'm assuming that I should only need the Visual C++ 
> > include files, right?
> > That is, I shouldn't need to be including the Cygwin 
> > includes, correct?

Yes.

You may want to compile Xerces-C from source, it may give you and idea
of what compile directives for XML::Xerces should be. I would also try
posting to the ActivePerl list. 

jas.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to