[Bug preprocessor/62661] digit separator warning in if'ed out code

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Aug 1 06:05:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62661

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |INVALID

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #2)
> But in C++14 tokenization should handle digit separators, see the definition
> of pp-number in 2.9 [lex.ppnumber], which allows single quotes in a
> pp-number.

Right it does not warn for C++14 and above so there is no bug and even was
mention in the original comment:
C or C++ < C++14


More information about the Gcc-bugs mailing list