Hello,
I am currently working with the iTorqued 2D game engine, and currently adding to it networking functionality via POCO. Specifically, I am creating an SMTP client using the SMTPClientSession. The functionality provided by POCO really looks great.
After importing the static libraries and headers needed, I attempted to rebuild the game engine. I am running into a problem where Xcode, or really the compiler, thinks the "new" operator is being implemented more than once. This creates a "Semantic Issue", meaning it cannot decide which new operator to use.
I only get this problem when attempting to build the engine with my SMTP client class, which imports Poco::Net::SMTPClientSession.h.
Only if I attempt to include this header, or any other Poco header, do I get the "new" operator conflict.
The "new" operator definitions that conflict are an OSX 10.7 sdk definition and a definition that is part of the iTorque 2D game engine. So, yes, it is not one of POCO's. However, only when I include a POCO header (have tried a couple just to see) to I get this conflict.
The compiler error directs me to the include of <string> in Foundation.h.
I am assuming that I may need a compiler flag, might be setting up the static libraries improperly, or something. Seeing as I am knew to Xcode and modifying an engine I did not build, I am just wondering if anybody has any suggestions.
I will also be posting this on the game engine's forums, as I know this might be something more to do with their end.
Thanks for your time.





