[PATCH] D33424: Lexer: allow imaginary constants in GNU mode (only).

Tim Northover via cfe-commits cfe-commits at lists.llvm.org
Wed May 24 17:58:44 PDT 2017


On 24 May 2017 at 15:32, Marshall Clow via Phabricator
<reviews at reviews.llvm.org> wrote:
> More. Trying the above code on godbolt.org, gcc 6.1/6.2/6.3/7.1 all reject it (with `-std=c++14` and `-std=c++1z`) with the error message:

This was a pretty explicit intent in Richard's proposal: treat
incoming code as charitably as possible, maybe dial it back if it
turns out we need more GCC compatibility for some reason.

Tim.


More information about the cfe-commits mailing list