Branch: Tag:

2001-03-04

2001-03-04 15:27:55 by Mirar (Pontus Hagland) <pike@sort.mirar.org>

modifications to allow for bigger INT_TYPE then the standard 32 bit or 'signed long':
Gmp.mpz modified to create objects from bigger native int types (get_mpz_new)
sprintf and configure modified so it can print bigger ints with then '%d', tests for '%llx' among others
main configure and global.h to allow type setting with --with-long-long-int et al
(default to not use long long is still in global.h)
various warnings fixed (not all)

Rev: src/acconfig.h:1.80
Rev: src/configure.in:1.494
Rev: src/global.h:1.58
Rev: src/modules/Gmp/configure.in:1.25
Rev: src/modules/Gmp/gmp_machine.h.in:1.6
Rev: src/modules/Gmp/mpz_glue.c:1.89
Rev: src/modules/Image/colors.c:1.45
Rev: src/modules/Image/image.c:1.186
Rev: src/modules/Image/image.h:1.47
Rev: src/modules/Image/layers.c:1.62
Rev: src/modules/files/udp.c:1.20
Rev: src/modules/sprintf/acconfig.h:1.2
Rev: src/modules/sprintf/configure.in:1.7
Rev: src/modules/sprintf/sprintf.c:1.76

1:   /* -  * $Id: acconfig.h,v 1.79 2001/02/21 00:54:26 grubba Exp $ +  * $Id: acconfig.h,v 1.80 2001/03/04 15:27:53 mirar Exp $    */   #ifndef MACHINE_H   #define MACHINE_H
112:   /* define if you want to use long double precision floats */   #undef WITH_LONG_DOUBLE_PRECISION_SVALUE    + /* force this type upon ints */ + #undef WITH_LONG_INT + #undef WITH_LONG_LONG_INT + #undef WITH_SHORT_INT + #undef WITH_INT_INT +    /* If using the C implementation of alloca, define if you know the    * direction of stack growth for your system; otherwise it will be    * automatically deduced at run-time.