Xerces has been using namespaces since 2.2.0, so if you include the Xerces files first 
and preface the classes with XERCES_CPP_NAMESPACE:: instead of using 
XERCES_CPP_NAMESPACE_USE, that should clear up the problem.

Adam Heinz
Senior Software Developer
Exstream Software

-----Original Message-----
From: Hassink, Brian [mailto:[EMAIL PROTECTED]
Sent: Monday, January 12, 2004 4:33 PM
To: '[EMAIL PROTECTED]'
Subject: operator new and delete


Hi,

I'm attempting to overload global operators new and delete for use within my own 
application, but Xerces is doing this as well in XMemory.hpp and so I'm getting 
compile time collisions under Cygwin.

There's probably a simple way to avoid these collisions, but it's not obvious to me. 
Any suggestions?

Cheers,
Brian


---------------------------------------------------------------------
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