title: C++11 uint types vs u_int
body: <p>I just stumbled upon the type <code>u_int8_t</code> because it did not compile in Windows+MinGW (but compiled fine under Linux). According to <a href="http://www.cplusplus.com/reference/cstdint/" rel="noreferrer">this site</a> the C++11 standard defines the type <code>uint8_t</code>. I just used the latter and everything worked.</p>
  
  <p>The questions that arised are:</p>
  
  <ol>
  <li>Is there any difference between <code>u_int8_t</code> and <code>uint8_t</code>? </li>
  <li>Is there a reason (besides legacy code) to use <code>u_int8_t</code>?</li>
  <li>Is it safe to assume that <code>uint8_t</code> will be present if I use a C++11 compiler (on different OS or architectures)?</li>
  <li>Are the answers to the above questions also valid for the other types (<code>intX_t</code> and <code>uintX_t</code>)?</li>
  </ol>