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



On Mon, 15 Mar 1999 you wrote:
>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.

MINT *out;

has to be replaced by

MPTYPE out;

Kurt (007)

--
Kurt Siegl / Franzberg 4, A-4483 Hargelsberg, Austria
Email: 007@netrek.org       Tel (ISDN):   *(7225)7017
URL:   http://www.ooenet.at/user/siegl/kurt/