title: Connector/C++ compile error
body: <p>When I compile code that includes Connector/C++ headers, I get the following errors:</p>
  
  <blockquote>
    <p>c:\qt\2010.03\mingw\bin../lib/gcc/mingw32/4.4.0/../../../../include/stdint.h:27: error: 'int8_t' has a previous declaration as 'typedef signed char int8_t'</p>
    
    <p>c:\qt\2010.03\mingw\bin../lib/gcc/mingw32/4.4.0/../../../../include/stdint.h:31: error: 'int32_t' has a previous declaration as 'typedef int int32_t'</p>
    
    <p>c:\qt\2010.03\mingw\bin../lib/gcc/mingw32/4.4.0/../../../../include/stdint.h:32: error: 'uint32_t' has a previous declaration as 'typedef unsigned int uint32_t'</p>
  </blockquote>
  
  <p>Literally all I do is this:</p>
  
  <pre><code>#include &lt;cppconn/driver.h&gt;
  #include &lt;cppconn/exception.h&gt;
  #include &lt;cppconn/resultset.h&gt;
  #include &lt;cppconn/statement.h&gt;
  #include &lt;cppconn/prepared_statement.h&gt;
  </code></pre>
  
  <p>Now I can go into the  file and comment the lines out that give me errors:</p>
  
  <pre><code>//typedef signed char int8_t;
  //typedef int  int32_t;
  //typedef unsigned   uint32_t;
  </code></pre>
  
  <p>It compiles, but when I try to run the mysql code:</p>
  
  <pre><code>sql::Driver *driver;
  driver = get_driver_instance();
  </code></pre>
  
  <p>I get this output</p>
  
  <blockquote>
    <p>test.exe exited with code -1073741515</p>
  </blockquote>
  
  <p>Any Ideas?</p>