"Klaus Ziegler - owner of sunfreeware.de" <[email protected]>
writes:

> But now to my real problem, if I try to compile gmp-6.2.0 on v9os
> using Sun C 5.11,
> I'll get the following very long lines:
> gmp-6.2.0/gmpxx.h", line 3375: Error: static
> __gmp_expr<__mpz_struct[1], __mpz_struct[1]>::factorial(signed char),
> returning __gmp_expr<__mpz_struct[1], __gmp_unary_expr<long,
> __gmp_fac_function>>, was previously declared returning
> __gmp_expr<__mpz_struct[1], __gmp_unary_expr<long,
> __gmp_fac_function>>.

I'm afraid I've not familiar enough with C++ to undersnd the error, but
Sun C 5.11 must be a pretty old C++ compiler, right? Maybe it simply
doesn't understand current C++?

Do you really need the C++ glue to boostrap gmp and gcc? If not, try
configuring gmp with --disable-cxx.

Regards,
/Niels

-- 
Niels Möller. PGP-encrypted email is preferred. Keyid 368C6677.
Internet email is subject to wholesale government surveillance.
_______________________________________________
gmp-bugs mailing list
[email protected]
https://gmplib.org/mailman/listinfo/gmp-bugs

Reply via email to