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

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) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!