$ cat radix.c
#include <stdio.h>
#include <float.h>
int main()
{
printf("FLT_RADIX = %i\n",FLT_RADIX);
printf("DBL_RADIX = %i\n",DBL_RADIX);
return 0;
}
$ gcc radix.c
radix.c: In function 'main':
radix.c:7: error: 'DBL_RADIX' undeclared (first use in this function)
radix.c:7: error: (Each undeclared identifier is reported only once
radix.c:7: error: for each function it appears in.)
$ gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../../gcc/trunk/configure --prefix=/home/ig25
--enable-languages=c,fortran
Thread model: posix
gcc version 4.2.0 20060723 (experimental)
--
Summary: DBL_RADIX missing
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Keywords: wrong-code
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: tkoenig at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28500