title: mingw spitting countless warnings about ignoring "dll import" attribute
body: <p>I'm using <code>mingw32-make</code> to compile a qt project that uses opengl, it compiles correctly and everything, but it spits countless warning messages of the form:</p>
  
  <pre><code>c:/qt3/include/qcolor.h:67: warning: inline function `int qGray(int, int, 
  int)' declared as dllimport: attribute ignored
  </code></pre>
  
  <p>For this particular instance, the function declaration is:</p>
  
  <pre><code>Q_EXPORT inline int qGray( int r, int g, int b )// convert R,G,B to gray 0..255
  { return (r*11+g*16+b*5)/32; }
  </code></pre>
  
  <p>My question is, why is it spitting all these warning? how can I silence them without silencing other legitimate warnings (i.e. warnings that are related directly to my code and could be potential problems)?</p>
  
  <p>More importantly, why is mingw ignoring the dll import attribute in the first place?</p>