INT_MIN bug

Paul de Bra wsinpdb at lso.win.tue.nl
Wed Jul 18 17:41:06 AEST 1990


In sVr3.2 (on the 386) the file <limits.h> contains the definitions
#define INT_MIN 	-2147483648
and
#define LONG_MIN	-2147483648L

which, according to K&R (second edition) are unsigned (constant) expressions
in ANSI C.

This bug (at least a similar one) caused trouble compiling groff with gcc.

Does sVr4.0 have correct values in limits.h?

Paul.
(debra at research.att.com)



More information about the Comp.bugs.sys5 mailing list