diff options
author | Jason Merrill <jason@redhat.com> | 2016-03-15 08:08:31 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2016-03-15 08:08:31 -0400 |
commit | 2aaeea194be58f1ac62c5a3ef6528ed2ae8e92ec (patch) | |
tree | 5ca057b6eafdc0abc79daff46e0295d6744dbbfd /libcpp/expr.c | |
parent | 08da25814139d7eb1264acb66b60cbb17a123deb (diff) | |
download | gcc-2aaeea194be58f1ac62c5a3ef6528ed2ae8e92ec.zip gcc-2aaeea194be58f1ac62c5a3ef6528ed2ae8e92ec.tar.gz gcc-2aaeea194be58f1ac62c5a3ef6528ed2ae8e92ec.tar.bz2 |
expr.c (cpp_classify_number): Hex floats are new in C++1z.
* libcpp/expr.c (cpp_classify_number): Hex floats are new in C++1z.
* libcpp/init.c (lang_defaults): Likewise.
* gcc/c-family/c-cppbuiltin.c (c_cpp_builtins): Set __cpp_hex_float.
From-SVN: r234213
Diffstat (limited to 'libcpp/expr.c')
-rw-r--r-- | libcpp/expr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcpp/expr.c b/libcpp/expr.c index 5353bde..5cdca6f 100644 --- a/libcpp/expr.c +++ b/libcpp/expr.c @@ -552,7 +552,7 @@ cpp_classify_number (cpp_reader *pfile, const cpp_token *token, { if (CPP_OPTION (pfile, cplusplus)) cpp_error_with_line (pfile, CPP_DL_PEDWARN, virtual_location, 0, - "use of C++11 hexadecimal floating constant"); + "use of C++1z hexadecimal floating constant"); else cpp_error_with_line (pfile, CPP_DL_PEDWARN, virtual_location, 0, "use of C99 hexadecimal floating constant"); |