Re: c99+ pragma is ignored by gcc -std=gnu99

2005-11-15 Thread Jim Meyering
Paul Eggert <[EMAIL PROTECTED]> wrote: > However, for now the simplest thing to do is to remove the pragma so I > installed the following patch, in both gnulib and coreutils. > > 2005-11-15 Paul Eggert <[EMAIL PROTECTED]> > > * xstrtod.c: Don't bother with #pragma STDC FENV_ACCESS ON, as >

Re: c99+ pragma is ignored by gcc -std=gnu99

2005-11-15 Thread Paul Eggert
Jim Meyering <[EMAIL PROTECTED]> writes: > In compiling coreutils with -std=gnu99, I see this new warning: > > xstrtod.c:33: warning: ignoring #pragma STDC FENV_ACCESS > > Why was this code needed? The C standard says that all code that runs when the rounding mode is altered must be compiled wi

c99+ pragma is ignored by gcc -std=gnu99

2005-11-15 Thread Jim Meyering
Hi Paul, In compiling coreutils with -std=gnu99, I see this new warning: xstrtod.c:33: warning: ignoring #pragma STDC FENV_ACCESS Why was this code needed? /* Tell the compiler that non-default rounding modes are used. */ #if 199901 <= __STDC_VERSION__ #pragma STDC FENV_ACCESS ON #e