This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


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

Bug in limits.h (Was: glibc 2.1.96)


> As usual (I must say) the feedback was rare.

Well, maybe people should produce traffic by re-reporting bugs that
haven't been fixed...

In glibc 2.1.96, compiling

#define _GNU_SOURCE
#include <limits.h>

int main()
{
  printf("%d\n",LONG_BIT);
}

with gcc 2.95.2 on i586-pc-linux-gnu produces a program which prints
"64"; this is incorrect.

Regards,
Martin


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