bug-diffutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-diffutils] bug#24300: intprops.h GL_INT_OP_WRAPV_LONGISH one too ma


From: John E. Malmberg
Subject: [bug-diffutils] bug#24300: intprops.h GL_INT_OP_WRAPV_LONGISH one too many ")"
Date: Wed, 24 Aug 2016 08:30:24 -0500
User-agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0

Greetings,

While building diffutils 3.5 on OpenVMS/IA64 8.4, I discovered:

 I1        5525 #  define _GL_INT_OP_WRAPV_LONGISH(a, b, r, op, overflow) \
I1 5526 _GL_INT_OP_CALC (a, b, r, op, overflow, unsigned long int, \
 I1        5527                      long int, LONG_MIN, LONG_MAX))


This was tripped because the VMS limits.h file does not define LLONG_MIN and LLONG_MAX.


I am currently working around this issue by adding:

#define LLONG_MAX __INT64_MAX
#define LLONG_MIN __INT64_MIN

To a pre-include header file on the modules, which works for the OpenVMS Alpha and IA64 builds.

Regards,
-John





reply via email to

[Prev in Thread] Current Thread [Next in Thread]