RAD Studio
ContentsIndex
PreviousUpNext
E2002: Only __fastcall functions allowed in __automated section

The calling convention for functions declared in an __automated section must be __fastcall. 

 

struct__declspec(delphiclass) clxclass
{
__automated:
int__fastcall fooInt(int);// OK
int__cdecl    barInt(int);// Error
};
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!