RAD Studio
ContentsIndex
PreviousUpNext
E2040: Declaration terminated incorrectly

A declaration has an extra or incorrect termination symbol, such as a semicolon placed after a function body. 

A C++ member function declared in a class with a semicolon between the header and the opening left brace also generates this error.

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!