Following code is not compiling, can anybody please help what is wrong here
class CTrapInfo
{
public:
enum GenericType
{
ColdStart,
WarmStart,
LinkDown,
LinkUp,
AuthenticationFailure,
EGPNeighborLoss,
EnterpriseSpecific
};
CTrapInfo();
CTrapInfo(const CTrapInfo&);
~CTrapInfo();
CTrapInfo &operator=(const CTrapInfo&);
static GenericType toGenericType(const DOMString&);
};
Compiler error is :
error C4430: missing type specifier - int assumed.
Note: C++ does not support default-int MSDN says this is valid in c++ http://msdn.microsoft.com/en-us/library/2dzy4k6e%28VS.80%29.aspx