THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 31/10/2006 at 08:12, xxxxxxxx wrote:
Cinema 4D Version: 9.6
Platform: Windows ; Mac ; Mac OSX ;
Language(s) : C++ ;
I have a project where I am using a namespace. Codewarrior however seems to have problems compiling the code. The code compiles absolutely fine in Visual C++ (and is also written in there).
The errors are strange, as standard functions like sin(), cos() etc. are reported to be undefined. Sounds like an error in scope endings of an enum, class or so. But I double checked everything and it´s all fine.
The codewarrior help says that it may be related to namespaces and I haven´t encountered these problems before I started using namespaces.
So does anybody have an idea what the reason for this behavior may be?
On 31/10/2006 at 09:25, xxxxxxxx wrote:
ok, the problem here was that including <vector> resulted in a collision somehow.
I know include <iostream> and using namespace std instead and it compiles fine.
But does anybody know what´s the equivalent for MAC to include <vector> or why it actually collides?