title: Compile error "'struct' type redefinition" although it's the first definition for it
body: <p>Everything was working well untill I moved some code from the main file to a new class, then I had the following error:</p>
  
  <blockquote>
    <p>error C2011: 'color1' : 'struct' type redefinition</p>
  </blockquote>
  
  <pre><code>struct color1
  {
      color1()
      {
          red = green = blue = 0;
      }
  
      color1(float _red, float _green, float _blue)
      {
          red = _red;
          green = _green;
          blue = _blue;
      }
  
      float red, green, blue;
  };
  </code></pre>
  
  <p>Any idea ?</p>