C++ "multiple types in one declaration" error
Solution 1:
You probably have code that's the equivalent of
int float x;
probably
class Foo { } float x;
or in it's more common form (note the missing semicolon after closing curly bracket)
class Foo {
//
}
float x;
Solution 2:
Don't forget to check for ;
after enum declarations, too.
Solution 3:
I had the same problem. Sometimes the error line does not show the correct place. Go through all new-created/modified classes and see if you forget ";" in the end of class defifnition.