This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/69462] FLT_EVAL_METHOD and DECIMAL_DIG missing in float.h


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)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]