bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

c99+ pragma is ignored by gcc -std=gnu99


From: Jim Meyering
Subject: c99+ pragma is ignored by gcc -std=gnu99
Date: Tue, 15 Nov 2005 17:40:57 +0100

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
  #endif

The warning makes me think it's not useful -- at least not with
gcc and -std=gnu99.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]