RAD Studio
ContentsIndex
PreviousUpNext
E2253: Calling convention must be attributed to the function type, not the closure (C++)

The calling convention is in the wrong place in the closure declaration. For example,

int __fastcall (__closure * x)()

will compile, but

int (__fastcall __closure * x)() 

will not.

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!