new to c++: error C2059: syntax error : 'constant'
<p>I am pretty new to C++ and I am getting following errors in header file. Thank you for any help.</p>

<p>3>c:\hedge\hedge\hedge\AisTarget.h(22) : error C2059: syntax error : 'constant'
3>c:\hedge\hedge\hedge\AisTarget.h(22) : error C2238: unexpected token(s) preceding ';'</p>

<pre><code>#if !defined(AisTarget_h)
#define AisTarget_h

#include "GeneralAviationItems.h"
#include &lt;string&gt;

namespace HEDGE
{

using namespace GeneralAviation;

class AisTarget : public WaypointLatLon

{
public:

static const int NO_DATA = -1000; //here it crashes

AisTarget();
virtual ~AisTarget();

int aisRptInd;          //repeat indicator type
int aisMMSI;            //target MMSI (i.e. id)
int aisNavStatus;       //nav status
int aisSOG;             //speed over ground knots
int aisCOG;             //course over ground degrees
int aisROT;             //rate of turn;
int aisHeading;         //true heading degrees
bool lost;

double lastXPos;
double lastYPos;
bool hasBeenDrawn;

protected:

};

} // end namespace HEDGE

#endif
</code></pre>
