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.
I found it: "read" and "write" get declared in perl/lib/CORE/win32IOp.h (this is Perl 5.6)
#define read(fd,b,s) win32_read(fd,b,s) #define write(fd,b,s) win32_write(fd,b,s)
What I haven't found is where to switch it off with an #undef in Xerces.cpp. I wonder why it happens at all - shouldn't the methods be part of the Xerces namespace after all?
1) I don't like solutions that require changing the Xerces-C
code.
Neither do I.
Martin
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
