Forgetting to add a variable type in a function prototype leads to a cryptic error.
void SomeFunction(variable) { }
Resulting in
Expected ',' or ')', not a '{'
Forgetting to add a variable type in a function prototype leads to a cryptic error.
void SomeFunction(variable) { }
Resulting in
Expected ',' or ')', not a '{'
void SomeFunction(variable)
{
}
Expected result is a clearer error stating the function prototype is unusable.