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.