Vanilla List Maling List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [VANILLA-LIST:2098] Bobs recent changes in the CVS tree



Quoting Kurt Siegl (007@freemail.at):
> To fix the US part you basically have to add:
> 
> #include "../config.h"
> #include INC_MP
> MPTYPEDEF
> 
> on top and replace the MINT type with MPTYPE
> and assigments like:
> 
>     temp = itom(0);
> 
> with
> 
>     assignItom(temp,0);

Did all of this to the US RSA version. I get a lot of warnings about
incompatibiled pointer type on madd, msub, mfree functions.

I understand madd is BSD compat function, but you redefine the BSD compat
functions in config.h, just wondering what I did wrong or is this normal?

Changing the madd() to mpz_add() I still get the same warnings. 

All variables sent are of MPTYPE *, MPTYPE is a typedef for mpz_t,
but the way I read the mpz_add function it takes just mpz_t (MPTYE)
not a pointer to mpz_t.

-- 
Bob Tanner <tanner@real-time.com>       | Phone : (612)943-8700
http://www.real-time.com                | Fax   : (612)943-8500
Key fingerprint =  6C E9 51 4F D5 3E 4C 66 62 A9 10 E5 35 85 39 D9