Re: Unable to compile XML::Xerces-2.4.0 under Windows
[email protected] (Jason E. Stewart)
| Newsgroups | gmane.text.xml.xerces-p.devel |
|---|---|
| Message-ID | <[email protected]> |
Martin Raspe <[email protected]> writes: > 1. > xercesc\internal\XSerializeEngine.hpp > complains about macros "read" and "write" not having the proper number > of arguments (in fact, they are method names). I don't know where > these macros get defined (probably somewhere in MS VC), but the errors > go away if I put > > #undef read > #undef write > > in the first line of "XSerializeEngine.hpp". Not sure about this one. > 2. > Xerces.cpp(12673) : error C2039: 'getNameSpace' > : is no element of 'XMLNotationDecl' > C:/xerces-c_2_4_0-win32/include/xercesc/framework/XMLNotationDecl.hpp(135) > : see declaration of 'XMLNotationDecl' > > Xerces.cpp(13022) : error C2039: 'setNameSpace' > : is no element of 'XMLNotationDecl' > C:/xerces-c_2_4_0-win32/include/xercesc/framework/XMLNotationDecl.hpp(135) > : see declaration of 'XMLNotationDecl' > > This is true, thera are only methods called > "get/setNameSpaceId". Perhaps the windows and *nix Versions of > Xerces-C are not synchronized? This is because the XML-Xerces-2.4 was compiled with a Xerces-C pre-release, and they changed the API after I built it. I'll need to make another release of 2.4 to fix 2) but I'm not sure what to do about 1) I don't like solutions that require changing the Xerces-C code. jas.