Thanks for the fast reply. I have realized I have inaccurately described the problem. The issue is actually with the lines:
Code:cursor += sizeof uint64;The GCC compiler expects the sizeof syntax to be different?Code:error: expected primary-expression before ‘;’ token|