This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

ISO C 9X Draft <limits.h>



The ISO C9X Draft specifies the macros LLONG_MIN, LLONG_MAX and
ULLONG_MAX but limits.h (at least in egcs 2.90.19) uses LLONG_MIN,
LONG_LONG_MAX and ULONG_MAX.

       5.2.4.2.1  Sizes of integer types <limits.h>
          [...]
          - minimum value for an object of type long long int
            LLONG_MIN     -9223372036854775807

          - maximum value for an object of type long long int
            LLONG_MAX     +9223372036854775807

          - maximum value for an object of type unsigned long  long
            int
            ULLONG_MAX    18446744073709551615

Can we easily replace the macro names in glimits.h? Or do we have to
maintain backward compatibility?

Andreas
-- 
 Andreas Jaeger   aj@arthur.rhein-neckar.de    jaeger@informatik.uni-kl.de
  for pgp-key finger ajaeger@alma.student.uni-kl.de
    http://www.student.uni-kl.de/~ajaeger/


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