On Fri, Mar 18, 2016 at 10:26 AM, Bill Allombert <Bill.Allombert@math.u-bordeaux.fr> wrote:
On Wed, Mar 16, 2016 at 06:17:24PM -0400, Igor Schein wrote:
> Nevertheless, when I use flag -std=c++03 to comply with the old standard,
> there's no issue compiling buch1.c.

If the standard allow the compiler to read header files we did not ask
for, then we are stuck.

> There's a similar problem further up in the build process when using C++03:
>
> $ /opt/solarisstudio12.4/bin/CC  -c -I. -I../src/headers -KPIC -fast
> -fsimple=1  -erroff -std=c++03 -o Hensel.o ../src/basemath/Hensel.c
> "../src/basemath/Hensel.c", line 869: Error: Overloading ambiguity
> between "ZpX_ZpXQ_liftroot_ea(long*,
> long*, long*, long*, long, void*, extern "C" int(*)(void*,long*,long*))"
> and "ZpX_ZpXQ_liftroot_ea(long*, long*, long*, long*, long, void*,
> int(*)(void*,long*,long*))".
> 1 Error(s) detected.

This is unrelated. I am surprised there not more like this.

Cheers,
Bill.

There're actually more like that, I just gave one as an example. Any chance of fixing it?

Thanks,

Igor