Compiler Error 153

Calling method on a pointer to a class instance without using the (*instance). shorthand of ->? ?

ie. its one or the other

Class instance();
[...]
instance.method();

or

Class *instance = new Class();
[...]
instance->method();

---

It's possible to receive this error by adding empty parenthesis after a variable definition.

Timer myTimer();

instead of

Timer myTimer;

All wikipages