This is the mail archive of the
java-discuss@sources.redhat.com
mailing list for the Java project.
Re: build error (3)
Oskar Liljeblad writes:
> You mean stdlib.h? I can't find stdio.h being included anywhere.
> Removing stdlib.h didn't help (it had not effect).
>
> I think the problem is here:
>
> natMath.cc includes fdlibm.h
> fdlibm.h includes mprec.h
> mprec.h includes <math.h>
> <math.h> includes <bits/mathcalls.h>
Yep, I agree that's the problem. It stems from us using (as much as
possible) a standard version of fdlibm so that we can update it
without doing a complicated merge.
We really need to purge the include of math.h, and in general remove
our dependencies on system math libraries.
Andrew.