title: Keil uVision4 armcc: Using C++ standard includes <cstdint>
body: <p>I am using Keil uVision4 to develop on a STM32F2 device.
  I am trying to use C++, which should be possible with the armcc (correct me if I am wrong) supplied with the uVision toolchain.
  But uVision refuses to accept the standard C++ include way</p>
  
  <pre><code>    #include &lt;cstdint&gt;
  </code></pre>
  
  <p>doesnt work while</p>
  
  <pre><code>    #include &lt;stdint.h&gt;
  </code></pre>
  
  <p>works perfectly.
  When i open cstdint inside uVision (rightclick, open document ) , it opens the file, but as generic file, e.g. not as header file, without the fancy colors.</p>
  
  <p>What am I missing? Both files are in the same folder
  C:\Keil\ARM\ARMCC\include
  and it doesnt make any difference whether I force the Compiler to use c++ (by appending --cpp) or not.
  Is uVision just unable to accept files without endings as header files?</p>
  
  <p>Edit: In response to the answers (thank you for your time!):
  The error message would be:</p>
  
  <pre><code>    #include &lt;cstdint&gt; and
      #include &lt;cstdint.h&gt;
      typedef uint32_t u32;
      error: #20: identifier uint32_t is undefined
  </code></pre>
  
  <p>while</p>
  
  <pre><code>    #include &lt;stdint.h&gt; and
      #include &lt;stdint&gt;
      typedef uint32_t u32;
      and 
      #include &lt;cstdint&gt; 
      typedef std::uint32_t u32;
      works perfectly.
  </code></pre>
  
  <p>which shows what the problem is. Thank you for your help!</p>