[PATCH] Permit the "if" literal suffix with Microsoft extensions enabled.

Peter Collingbourne peter at pcc.me.uk
Thu May 29 15:50:25 PDT 2014


On Thu, May 29, 2014 at 06:41:00PM -0400, Aaron Ballman wrote:
> I can't find any mention on MSDN of this suffix being supported -- and
> pasting your test case into MSVC 2013 yields compile errors about a
> bad suffix on a number, and __complex being unknown. Can you point me
> to some documentation on this feature?

This isn't a Microsoft extension -- it is a GNU extension that we support by
default. We already support the 'i' suffix with Microsoft extensions enabled;
it seems reasonable to support 'if' as well.

Thanks,
-- 
Peter



More information about the cfe-commits mailing list