Hi Paul,
You wrote ...
> Hi! My app is using xerces-2.6.0 and another third
> party library called ogre-0.15.0 (www.ogre3d.org).
> The problem is, ogre defines the functions new and
> delete in OgreMemoryManager.h. But xerces also
> defines this in XMemory.hpp. The new/delete functions
> in both ogre and xerces are global. On compile,
> visual studio points out the already declared
> functions.
>
> Ogre is as big a project as xerces. I strongly
> believe that I cannot modify either source codes by
> myself manually. Any ideas on how to solve this?
You may want to take a look at Chapter 13 of the book /C++ in Action/ which is available online at http://www.relisoft.com/book/tech/9new.html. It has quite a good explanation of both class-specific and global operator new that may help you deal with your problem.
Regards,
Joe Abbate
Senior Software Engineer
Computer Associates
[EMAIL PROTECTED]
Title: RE: xerces new/delete
- xerces new/delete Paul Rivera
- Abbate, Joseph M