This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: Bug in limits.h (Was: glibc 2.1.96)
"Martin v. Loewis" <martin@loewis.home.cs.tu-berlin.de> writes:
> #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.
I cannot reproduce this. Works just fine for me. Please investigate
what's going wrong on your side.
--
---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------