title: declaration of C function 'void msgBox(const char*, const char*)' conflicts with previous declaration
body: <p>I get the error: <strong>delcaration of C function 'void msgBox(const char*, const char*)' conflicts with previous declaration 'void msgBox(const char*)' here</strong> in my DLL, being compiled in MinGW. Why isn't it accepting my declarations?</p>
  
  <pre><code>#include &lt;windows.h&gt;
  
  #define DLL_EXPORT __declspec(dllexport)
  
  extern "C"
  {
  
  void DLL_EXPORT msgBox(const char* msgText);
  void DLL_EXPORT msgBox(const char* msgText, const char* msgTitle);
  
  }
  </code></pre>