On Fri, Jan 29, 2016 at 09:27:46AM +0100, Dominik Vogt wrote: > On Thu, Jan 28, 2016 at 03:41:29PM +0100, Jakub Jelinek wrote: > > On Thu, Jan 28, 2016 at 01:40:12PM +0100, Dominik Vogt wrote: > > > -#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L > > > +#if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ > > > + || (defined (__cplusplus) && __cplusplus >= 201103L) > > > > The formatting is wrong, there is a tab before || when it should be aligned > > below defined on the previous line. > > Attached.
> gcc/ChangeLog > > PR c++/69462 > * ginclude/float.h: Also provide FLT_EVAL_METHOD and DECIMAL_DIG for > C++-11. Ok, thanks. > --- a/gcc/ginclude/float.h > +++ b/gcc/ginclude/float.h > @@ -127,7 +127,8 @@ see the files COPYING3 and COPYING.RUNTIME respectively. > If not, see > #undef FLT_ROUNDS > #define FLT_ROUNDS 1 > > -#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L > +#if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ > + || (defined (__cplusplus) && __cplusplus >= 201103L) > /* The floating-point expression evaluation method. > -1 indeterminate > 0 evaluate all operations and constants just to the range and Jakub