On Mon, Jul 6, 2015 at 10:23 AM, Bill Allombert <Bill.Allombert@math.u-bordeaux.fr> wrote:
On Mon, Jul 06, 2015 at 10:12:17AM -0400, Igor Schein wrote:
> Package: pari
> Version: git
>
> $ uname -a
> SunOS solaris 5.11 11.2 i86pc i386 i86pc
> $ /opt/solarisstudio12.4/bin/CC  -c -I. -I../src/headers -KPIC -fast
> -fsimple=1  -erroff -o buch1.o ../src/basemath/buch1.c
> "../src/basemath/buch1.c", line 330: Error: Overloading ambiguity between
> "std::log(double)" and "std::log(float)".
> "../src/basemath/buch1.c", line 405: Error: Overloading ambiguity between
> "std::pow(double, double)" and "std::pow(double, int)".
> "../src/basemath/buch1.c", line 406: Error: Overloading ambiguity between
> "std::pow(double, double)" and "std::pow(double, int)".
> 3 Error(s) detected.

Did you use a C++ compiler ?  Overloading does not exist in C.

Cheers,
Bill.

Yes, CC is a C++ compiler.  However, there's no reason C++ build should fail on Solaris, right?

Igor