[cfe-dev] Language linkage of function type

Stephan Bergmann sbergman at redhat.com
Tue Jan 21 23:39:03 PST 2014


On 01/22/2014 01:14 AM, Richard Smith wrote:
[...]
> The upshot of all this is that C++ implementations/configurations that
> don't have different calling conventions for C and C++ tend to not
> implement this rule at all today (because implementing it provides
> basically no value to their users and breaks code).

Thanks for the detailed reply.  (Just for the record, my use-case was to 
have a plugin warn about certain implicit conversions from bool to other 
integral types, yet do not warn when that happens for an argument to a C 
function---where Boolean values are often represented by int.)

Stephan



More information about the cfe-dev mailing list