I'm getting the following compiler error:
EntityManager.cpp|54|error: 'class Entity' has no member named 'deleteFlag'
However, the Entity class very decidedly does have a member named "deleteFlag."
Here is the offending code from EntityManager.cpp's UpdateAll() function:
deleteFlag is simply a bool declared public in Entity. There's nothing special about it, and I have no idea why my compiler insists it doesn't exist. Renaming it doesn't work, making it a private variable with getters and setters doesn't work, making it not static doesn't work (and I'd like it to be static)... I'm out of ideas. Just for the sake of being thorough, here is a very abbreviated class declaration from Entity.h:
1 2 3 4 5 6
class Entity
{
public:
Entity(bool hasGravityForce);
staticbool deleteFlag;
}