What is wrong

I seem to be getting a strange error. I am trying to write a 'getter' for an object, but strange errors occur. 'Script does not name a type', when everything seems to be included properly...

solved: there was a circular dependency issue caused by unnecessarily including a header where it needn't be included.
Last edited on
You have a circular dependency issue between Game.hpp and Script.hpp - why does Script.hpp even need to include Game.hpp at all?

See http://www.cplusplus.com/forum/articles/10627/
Last edited on
Wow, removing that actually worked. Thanks alot.
Topic archived. No new replies allowed.