[Bug c++/69462] FLT_EVAL_METHOD and DECIMAL_DIG missing in float.h
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jan 25 10:21:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69462
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2016-01-25
Ever confirmed|0 |1
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
gcc/ginclude/float.h only defines them for:
#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
That test should be:
#if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
|| (defined (__cplusplus) && __cplusplus >= 201103L)
More information about the Gcc-bugs
mailing list