[Bug preprocessor/23827] standard C++ should not have hex float preprocessing tokens

emsr at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Jul 12 19:18:00 GMT 2014


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

emsr at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |emsr at gcc dot gnu.org

--- Comment #2 from emsr at gcc dot gnu.org ---
Created attachment 33112
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33112&action=edit
The following is in testing...


libcpp/

2014-07-12  Edward Smith-Rowland  <3dw4rd@verizon.net>

    PR preprocessor/23827
    * init.c (lang_defaults[]): Set extended_identifiers to false for C++98.
    * expr.c (cpp_classify_number()): Make hexfloat pedward trigger
    for !extended_identifiers.  Split error message for C99 and C++11.


gcc/testsuite/

2014-07-12  Edward Smith-Rowland  <3dw4rd@verizon.net>

    PR preprocessor/23827
    * g++.dg/cpp/pr23827.C: New.



More information about the Gcc-bugs mailing list