RAD Studio
ContentsIndex
PreviousUpNext
E2002: Only __fastcall functions allowed in __automated section (C++)

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) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!