title: MinGW and "declaration does not declare anything"
body: <p>I'm working on converting a Linux project of mine to compile on Windows using MinGW. It compiles and runs just fine on Linux, but when I attempt to compile it with MinGW it bombs out with the following error message:</p>
  
  <pre><code>camera.h:11: error: declaration does not declare anything
  camera.h:12: error: declaration does not declare anything
  </code></pre>
  
  <p>I'm kind of baffled why this is happening, because</p>
  
  <ol>
  <li>I'm using the same version of g++ (4.4) on both Linux and Windows (via MinGW).</li>
  <li>The contents of camera.h is absurdly simple.</li>
  </ol>
  
  <p>Here's the code. It's choking on lines 11 and 12 where <code>float near;</code> and <code>float far;</code> are defined.</p>
  
  <pre><code>#include "Vector.h"
  
  #ifndef _CAMERA_H_
  #define _CAMERA_H_
  
  class Camera{
  public:
    Vector eye;
    Vector lookAt;
    float fov;
    float near;
    float far;
  };
  
  #endif
  </code></pre>
  
  <p>Thanks for your help.</p>
  
  <p>EDIT: Thanks both Dirk and mingos, that was exactly the problem!</p>