"Extra tokens at end of #ifndef directive"
This is probably something really stupid that I fail to see, but as I jsut said I am failing at seeing it...
So I keep getting the error "Extra tokens at end of #ifndef directive" in the following code
Code:
#ifndef OBJECT_WEAPON-EXTENSION_H_INCLUDED
#define OBJECT_WEAPON-EXTENSION_H_INCLUDED
#include <sstream>
#include "OBJECT_Handler.h"
class WEAPON : protected OBJECT{
public:
WEAPON(std::string, int, int, int, int, int, int, int, int, int, int);
private:
int TYPE;
int ATTACK;
int DEFENCE;
int AGILITY;
int SPEED;
int INTELLIGENCE;
int EFFECT[3];
};
#endif // OBJECT_WEAPON-EXTENSION_H_INCLUDED
and for good measure here is OBJECT_Handler.h
Code:
#ifndef OBJECT_HANDLER_H_INCLUDED
#define OBJECT_HANDLER_H_INCLUDED
#include <sstream>
class OBJECT{
public:
OBJECT(std::string, int);
protected:
std::string NAME;
unsigned int ID;
};
#endif // OBJECT_HANDLER_H_INCLUDED