Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Namespaces Codewarrior problem

    Scheduled Pinned Locked Moved SDK Help
    2 Posts 0 Posters 195 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H Offline
      Helper
      last edited by

      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:

      User Information:
      Cinema 4D Version:   9.6 
      Platform:   Windows  ; Mac  ;  Mac OSX  ; 
      Language(s) :     C++  ;

      ---------
      Hi,

      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?

      Thanks
      Katachi

      1 Reply Last reply Reply Quote 0
      • H Offline
        Helper
        last edited by

        THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

        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?

        1 Reply Last reply Reply Quote 0
        • First post
          Last post