The description of the C compiler error E208 is generic as it does not clearly explain what is wrong. Furthermore, the source code line indicated by the error message is not necessarily where the root cause of the error is present. The cause of the error itself is often trivial.
Below are three use cases that trigger error E208, along with explanations of their root causes.
uint16_t var_1;
voiid func(void)
int var_1
char var_2;
void func(void)
{
//...
}
In this case, the error message refers to the line containing the opening curly bracket of the function definition, rather than the line containing the definition of the variable.
ctc E208: syntax error - token ";" inserted before "{"