And the reason the compiler recommends adding a ; is that the closest thing to legal C++ it could think of is that you are trying to declare an external function followed by a block statement, and external function declarations end with a semicolon. More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.