[cfe-dev] Complex literals and VS mode?
Douglas Gregor
dgregor at apple.com
Mon Oct 5 15:14:57 PDT 2009
On Oct 1, 2009, at 4:34 PM, John Thompson wrote:
> Three tests are failing on Windows because complex literals (suffix
> 'i') appear not to be supported when the Microsoft emulation option
> is on (which it is by default for the Visual Studio-built version).
> I don't know anything about complex literals in general, or if this
> was intentional, or whether it is supported in VC++, but the
> enclosed patch makes the following tests pass:
Yes, we should support complex literals even in Microsoft emulation
mode. However, I'd really rather not have a "goto" in this code...
could you replace that goto with some kind of "WasMicrosoftSuffix" bool?
- Doug
More information about the cfe-dev
mailing list