E2001 Constructors and destructors not allowed in __automated section (C++)

From RAD Studio
Jump to: navigation, search

Go Up to Compiler Errors And Warnings (C++) Index


Only member function declarations are allowed in __automated sections.

Example:

struct__declspec(delphiclass) clxclass
{
__automated:
int__fastcall fooInt(int);// OK
clxclass()  {}// Error
};