title: VC++ Project, want to compile within another IDE but something is missing
body: <p>I am fairly new to C++.<br>
  I want to write plugins for an application called <a href="http://www.maxon.net/en/home.html" rel="nofollow noreferrer">Cinema 4D</a>.<br>
  Maxon, the maker of C4D, provides an API for doing this. The header-files are located in a special folder.</p>
  
  <p>The "cinema4dskd" is a Visual Studio project containing sample plugins. Within this project there is another subproject called <strong>_api</strong> .</p>
  
  <p><img src="https://i.stack.imgur.com/wcdXC.png" alt="enter image description here">  </p>
  
  <p><em>The popupwindow is the "Project dependencies" dialog.</em></p>
  
  <p>The <strong>_api</strong> sub project seems to be a link to a file that is present on my localdrive but it is not within the cinema4dsdk.vcproj.<br>
  All files within the <strong>_api</strong> project are located in a folder in the Cinema 4D installation path also called <strong>_api</strong>.<br>
  It is full of header and .cpp files.<br>
  This is basically what I need to compile plugins for Cinema 4D, including "c4d.h" in my source code.<br>
  But this is where the problems start.</p>
  
  <p>I'm trying to compile a plugin within Code::Blocks, I have added all paths to "c4d.h", etc. But every compiler (gcc, and even msvc !) tell me thousands of warnings about:  </p>
  
  <p><strong>C:\Programs\MAXON\Cinema 4D R12\resource\_api\ge_prepass.h |2668|warning: multi-character character constant|</strong></p>
  
  <p>And finally an error that <code>C4DGLuint</code> isn't declared. Why does it work in VC++ but not with any other compiler ? I must have missed something, but I really don't know what.  </p>
  
  <p>I don't think I am allowed to share this project, as the <strong>_api</strong> is owned by Maxon GmbH, but if you really need it I beg you to download the Cinema 4D Demo version where the <em>cinema4dskd</em> project is included.</p>
  
  <p>Tell me if you need any further information, I hope you have an idea what may be missing. Why the heck can VC++ compile the Plugins right, but I can't using the command-line or any other IDE ?</p>
  
  <p>Thank you very much.<br>
  Niklas</p>
  
  <p><strong>Updates:</strong></p>
  
  <p>Example of <em>multicharacter constant</em>  error:</p>
  
  <blockquote>
    <p>C:\Users\niklas\Documents\CodeBlocks\Cinema4D\_api\src\gui.h|690|warning: multi-character character constant|<br>
    C:\Users\niklas\Documents\CodeBlocks\Cinema4D\_api\src\gui.h|693|warning: multi-character character constant|</p>
  </blockquote>
  
  <pre><code>690: BFM_SETVIEWPORTORIGIN  = 'cORG',
  691:    BFM_SETVIEWPORTORIGIN_X=1,
  692:    BFM_SETVIEWPORTORIGIN_Y=2,
  693: BFM_SETVIEWPORTSIZE    = 'cSIZ',
  </code></pre>