I'm using Xcode to build C++ Code where-in I'm calling delete to destroy memory, now I have a external lib loaded which has delete operator overloaded, so when I call delete the delete operator of lib is called even though I am not intended to do so.
Anybody has any clue how to prevent this?
I have found the decorated name for operator delete from the lib, but how would I tell Xcode about those symbols? If I define my own operator delete in my project my code doesn't compile because of the duplicate symbol error?
Anybody has any clue on this? Thanks in advance for the help.