title: What's wrong here? - ISO C++ forbids declaration of 'Circle' with no type
body: <p>maybe you can help me get this right.
  I have a class that is used to draw a circle, but the compiler sends me this message:</p>
  
  <pre><code>In file included from ./Includes.h:19,
                   from ./Circle.h:8,
                   from ./Circle.cpp:5:
  ./GameApp.h:24: error: ISO C++ forbids declaration of 'Circle' with no type
  ./GameApp.h:24: error: expected ';' before '*' token
  </code></pre>
  
  <p>Here is the GameApp.h:</p>
  
  <pre><code>#include "Includes.h"
  
  class GameApp {
  
  public:
   GameApp();
   ~GameApp();
   void Render();
  
  protected:
   void InitGU();
   bool Controls();
  
   void *dList;  // display List, used by sceGUStart
   void *fbp0;  // frame buffer
  
   Circle* circle;
  };
  </code></pre>
  
  <p>The Include.h looks like this:</p>
  
  <pre><code>//************************************************************************
  //                              Includes.h
  //************************************************************************
  
  #include &lt;malloc.h&gt;     //For memalign()
  #include &lt;pspkernel.h&gt;
  #include &lt;pspdisplay.h&gt;
  #include &lt;pspdebug.h&gt;
  #include &lt;stdio.h&gt;
  #include &lt;psprtc.h&gt;             // for the timer/fps functions
  #include &lt;pspctrl.h&gt;
  #include &lt;math.h&gt;
  
  // GU
  #include &lt;pspgu.h&gt;
  #include &lt;pspgum.h&gt;
  
  // Custom
  #include "GameApp.h"
  #include "Circle.h"
  
  
  //************************************************************************
  
  // Definitions
  #define BUF_WIDTH (512)
  #define SCR_WIDTH (480)
  #define SCR_HEIGHT (272)
  
  #define sin_d(x) (sin((x)*M_PI/180))
  #define cos_d(x) (cos((x)*M_PI/180))
  #define tan_d(x) (tan((x)*M_PI/180)) 
  
  //************************************************************************
  
  // structs, datatypes...
  #ifndef VERTEX_TYPE_
  #define VERTEX_TYPE_
  typedef struct {
      unsigned int color;
      float x, y, z;
  } vertex;
  #endif
  </code></pre>
  
  <p>And the Circle.h</p>
  
  <pre><code>//************************************************************************
  //                              Circle.h
  //************************************************************************
  
  #ifndef CIRCLE_H_
  #define CIRCLE_H_
  
  #include "Includes.h"
  
  class Circle {
  
  public:
      Circle(float r1);
      ~Circle();
      void Render();
  
      float r;
      float x, y;
      float vx, vy;
  
  protected:
      vertex* vertices;
      int n;
  
  };
  
  #endif
  </code></pre>