Bill Allombert on Wed, 12 Mar 2003 20:49:55 +0100 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
g++ warning |
Hello PARI developers, I have fixed a c++ incompatibility in divrr_with_gmp. There is a warning in src/basemath/arith2.c that is probably linked with Ilya patch. ~/pari++/Olinux-i686-gmp $ make gp g++ -c -O3 -DGCC_INLINE -Wall -fomit-frame-pointer -DBOTH_GNUPLOT_AND_X11 -I. -I../src/headers -o arith2.o ../src/basemath/arith2.c ../src/basemath/arith2.c: In function `ulong good_arena_size(long unsigned int, long unsigned int, long unsigned int, cache_model_t *, long int)': ../src/basemath/arith2.c:332: warning: assignment to `ulong' from `double' ../src/basemath/arith2.c: In function `unsigned char * initprimes0(long unsigned int, long int *, ulong *)': ../src/basemath/arith2.c:453: warning: `double' used for argument 1 of `good_arena_size(long unsigned int, long unsigned int, long unsigned int, cache_model_t *, long int)' Cheers, Bill.