pointers vs arrays

Marc Glisse marc.glisse at inria.fr
Wed May 12 13:17:00 UTC 2021


Hello,

the latest version of gcc has a new (questionable) warning that complains 
if a function is declared as taking a mpz_t parameter and redeclared as 
taking mpz_ptr, or the reverse.

We might as well be consistent and use pointers everywhere, as in the 
attached patch. Does someone disagree?

-- 
Marc Glisse
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ptr.diff
Type: text/x-diff
Size: 14928 bytes
Desc: 
URL: <https://gmplib.org/list-archives/gmp-devel/attachments/20210512/b332bdc2/attachment-0001.bin>


More information about the gmp-devel mailing list