Very simple codes located in the same file \'foo.h\':
class Xface { public: uint32_t m_tick; Xface(uint32_t tk) { m_tick=tk; } } std
class Xface { public: uint32_t m_tick; Xface(uint32_t tk) { m_tick=tk; } } // need a semicolon here
You are missing a semicolon at the end of the class definition.