[cfe-commits] tgmath.h

Howard Hinnant hhinnant at apple.com
Wed Feb 18 09:30:56 PST 2009


On Feb 18, 2009, at 12:26 PM, Douglas Gregor wrote:

> Committed, with a little twist:
>
>  typedef void _Argument_type_is_not_arithmetic;
>  static _Argument_type_is_not_arithmetic __tg_promote(...) \
>    __attribute__((__unavailable__,__overloadable__));

Nice.  The '\' confused me at first, but seems harmless enough.

> We're recovering badly from failures when calling __tg_promote. I'm  
> working on some parser/sema tweaks to improve the situation, and  
> will send an updated error message when it's done.

Thanks,
Howard




More information about the cfe-commits mailing list