Karim BELABAS on Sat, 13 Dec 2003 20:34:14 +0100


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: -fPIC joy, lexcmp woes.


On Wed, 10 Dec 2003, Ilya Zakharevich wrote:
> On Wed, Dec 10, 2003 at 11:57:46PM +0100, Bill Allombert wrote:
> > Well, now I am fixing gp2c to support the new 'i' prototype.
>
> What the hek?  Why do we need a new prototype type?  Why not just
> change the return value to long (as it should have been from the
> start)?  [If ABI is a question, rename the function as well.]

It was the purpose of the 'install' mechanism to support as many "external"
functions as possible (without changes to the external module). The basic
return types which make sense to GP should be supported. [ Possibly, 'char',
floats or unsigned types could be added, but nobody ever requested them... ]

    Karim.
-- 
Karim Belabas                     Tel: (+33) (0)1 69 15 57 48
Dép. de Mathématiques, Bât. 425   Fax: (+33) (0)1 69 15 60 19
Université Paris-Sud              http://www.math.u-psud.fr/~belabas/
F-91405 Orsay (France)            http://pari.math.u-bordeaux.fr/  [PARI/GP]