bug-gmp
[Top][All Lists]
Advanced

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

[gmp 3.1.1] LONG_MAX and ULONG_MAX redefined


From: Vincent Lefevre
Subject: [gmp 3.1.1] LONG_MAX and ULONG_MAX redefined
Date: Mon, 11 Dec 2000 13:24:04 +0100
User-agent: Mutt/1.2.5i

Hi,

In GMP 3.1.1, gmp-impl.h defines LONG_MAX and ULONG_MAX, though these
macros should be defined in <limits.h>, and this is a problem when a
program using gmp-impl.h includes <limits.h> later (e.g. MPFR).

To avoid such errors, gmp-impl.h should include <limits.h> at the
beginning.

-- 
Vincent Lefèvre <address@hidden> - Web: <http://www.vinc17.org/> - 100%
validated HTML - Acorn Risc PC, Yellow Pig 17, Championnat International des
Jeux Mathématiques et Logiques, TETRHEX, etc.
Work: CR INRIA - computer arithmetic / PolKA research team at LORIA



reply via email to

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