Have a class, in a separate .h file, and the implementation of this class in it's own .C file.
The class does not include anything external, so it exists completely on it's own.
When I compile, G++ tells me it is looking for a semicolon before the class declaration. This really baffles me, as I do not include anything in the class. The only solution that seems to keep the compiler quiet is
;class foo //beginning the def with a semicolon
{
public:
int getBar();
private:
int bar;
};