E2205 Illegal type 'type' in __automated section (C++)
Go Up to Compiler Errors And Warnings (C++) Index
Only certain types are allowed in __automated sections.
Example:
struct__declspec(delphiclass) clxclass { __automated: int__fastcall fooInt(int);// OK long__fastcall fooLong(long);// Error: long illegal };