]> www.ginac.de Git - cln.git/commit
Assume types 'long long int' and 'long double' exist.
authorRichard Kreckel <kreckel@ginac.de>
Sat, 17 Oct 2020 22:23:28 +0000 (00:23 +0200)
committerRichard Kreckel <kreckel@ginac.de>
Sun, 18 Oct 2020 19:31:22 +0000 (21:31 +0200)
commitbd2f4302b76ff0dd4cf382c65381fff651e2487d
tree41a594cff6512c2b21832d8ab4269d0800bc19e3
parent2d635f38c770d16578d017f88e644627b69e2dc5
Assume types 'long long int' and 'long double' exist.

The C++11 standard requires in 3.9.1-2 that type 'long long int' exists
and in -8 that type 'long double' exists. So, remove macros HAVE_LONGLONG
and HAVE_LONGDOUBLE. Also, shamelessly update m4/param.m4, m4/intparam.m4,
and m4/floatparam.m4 with code from CLisp.

All this fixes several cross-compilation issues discovered by
Helmut Grohne <helmut@subdivi.de>.
30 files changed:
autoconf/floatparam.c
autoconf/intparam.c
configure.ac
include/cln/complex_class.h
include/cln/config.h.in
include/cln/float.h
include/cln/integer.h
include/cln/integer_class.h
include/cln/io.h
include/cln/lfloat.h
include/cln/number.h
include/cln/object.h
include/cln/rational.h
include/cln/rational_class.h
include/cln/real.h
include/cln/real_class.h
include/cln/types.h
m4/floatparam.m4
m4/intparam.m4
m4/longdouble.m4 [deleted file]
m4/longlong.m4 [deleted file]
m4/param.m4
src/base/cl_low.h
src/base/digit/cl_D.h
src/base/digitseq/cl_DS_mul_fftc.h
src/base/digitseq/cl_DS_mul_fftcs.h
src/base/digitseq/cl_DS_mul_fftr.h
src/base/low/cl_low_isqrt.cc
src/base/output/cl_output_dec.cc
src/base/output/cl_output_hex.cc