On Mon, Mar 28, 2016 at 09:03:04AM -0400, Igor Schein wrote:
> I am not sure what you mean by "reproduce". The errors are clearly
> Solaris-specific.
Yes, but it is unclear why they chould be specific to Solaris.
> I built g++-5.3 on Solaris, and the errors still occur. Here's the latest
> (shorter than before) list of compilation errors:
Yes, I tried to fix lots of errors.
> ../src/basemath/base2.c:663:17: error: expected unqualified-id before
> numeric constant
> ../src/basemath/base2.c:665:29: error: invalid conversion from ‘int’ to
> ‘GEN {aka long int*}’ [-fpermissive]
> ../src/basemath/base2.c:669:42: error: invalid conversion from ‘int’ to
> ‘GEN {aka long int*}’ [-fpermissive]
I wonder. Can you check whether 'ERR' is defined on this plateform ?
This is line 663 to 669:
GEN N, u, ERR = pari_err_last();
long l;
switch(err_get_num(ERR))
{
case e_INV:
{
GEN p, x = err_get_compo(ERR, 2);
Maybe renaming ERR to something else fix the problem.
Cheers,
Bill.