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]

Re: glibc 2.1.93


>>>>> Martin v Loewis writes:

 > There seems to be a problem with limits.h in glibc 2.1.93. Compiling
 > #include <limits.h>
 > LONG_BIT

 > with -D_GNU_SOURCE on i586-pc-linux-gnu gives the output file attached
 > below (which was also compiled with -dD). Essentially, LONG_BIT is
 > defined as 64.

 > Any help appreciated,
 > Martin

The problems seems to be that <bits/xopen_lim.h> has:
/* Number of bits in a word of type `int'.  */
#if INT_MAX == 32767
# define WORD_BIT       16
#else
# if INT_MAX == 2147483647
#  define WORD_BIT      32
# else
/* Safe assumption.  */
#  define WORD_BIT      64
# endif
#endif

but INT_MAX is not defined yet :-(.

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj

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