GNU bug report logs - #24300
intprops.h GL_INT_OP_WRAPV_LONGISH one too many ")"

Previous Next

Package: diffutils;

Reported by: "John E. Malmberg" <wb8tyw <at> qsl.net>

Date: Wed, 24 Aug 2016 15:35:01 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: "John E. Malmberg" <wb8tyw <at> qsl.net>
To: 24300 <at> debbugs.gnu.org
Subject: bug#24300: intprops.h GL_INT_OP_WRAPV_LONGISH one too many ")"
Date: Wed, 24 Aug 2016 08:30:24 -0500
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




This bug report was last modified 8 years and 266 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.