Strange Errors while compile


I’ve start writing new System I’v been called it AntiCheat

When i tries to compile the script there are a few strange errors

You could take a look at the script and errors. the link is below

Note that player.h includes anticheat.h which includes player.h

You have a circular reference. Could be a good idea to only declare:
class Player;
in the anticheat.h and then have the actual player.h include in the cpp file.

same for MovementInfo.

Infact Anticheat.h only needs Define.h (or Defines.h?) included as it is now.

Not sure if this is what is causing it.

Thank you Rochet2. Problem solved by adding class player: in anticheat.h