[cfe-dev] calling convention for function pointers

Mike Stump mrs at apple.com
Sat Apr 4 09:59:42 PDT 2009


On Apr 4, 2009, at 12:55 AM, Xi Wang wrote:
> p.s.  Currently Clang does not check incompatible pointer casts with
> such attributes (e.g., from fastcall to cdecl).  Should it report a
> warning or something?

Type violations should be a hard error.  Explicit casts should let the  
user hang themselves.



More information about the cfe-dev mailing list