gmp-5.0.1 - 'make check' on ABI=2.0n HP-UX 11 build problem

Warren Gray ve3wwg at gmail.com
Wed Feb 24 18:45:54 CET 2010


After doing a gmp-5.0.1 build and install, I tried 'make check, which fails
to
build (using old cc compiler):

cc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../tests    +uc +DA2.0N -c
t-div.c
cc: "t-div.c", line 244: error 1654: Expression type is too large for switch
expression.
cc: "t-div.c", line 246: error 1653: Case label too big for the type of the
switch expression
cc: "t-div.c", line 251: error 1653: Case label too big for the type of the
switch expression
cc: "t-div.c", line 254: error 1653: Case label too big for the type of the
switch expression
make[4]: *** [t-div.o] Error 1
make[4]: Leaving directory
`/home/proghome/wgay/work/feb24/gmp-5.0.1/tests/mpn'

The old cc compiler won't accept > 32-bit switch() expressions, nor will it
compile constants > 32 bits.

Thanks, Warren


More information about the gmp-bugs mailing list