This is the mail archive of the
libstdc++@sources.redhat.com
mailing list for the libstdc++ project.
Re: AIX atomicity.h support
- To: David Edelsohn <dje at watson dot ibm dot com>
- Subject: Re: AIX atomicity.h support
- From: Benjamin Kosnik <bkoz at redhat dot com>
- Date: Tue, 26 Sep 2000 14:23:23 -0700 (PDT)
- cc: libstdc++ at sources dot redhat dot com, Mark Mitchell <mark at codesourcery dot com>, Geoff Keating <geoffk at cygnus dot com>
> So far I have the v3/math directory compiled after manually
> working around math/complex-stub.h:cabs() prototype conflicting with AIX's
> /usr/include/math.h:cabs(). I am not sure how to handle this conflict
> automatically.
Hmm. According to ISO C9x,
7.3.8.1 The cabs functions Synopsis
#include <complex.h>
double cabs(double complex z);
float cabsf(float complex z);
long double cabsl(long double complex z);
This stuff is supposed to be in complex.h, not math.h. Perhaps you can use
fixincludes, as I believe HPUX does for this issue?
> I currently am running into problems with libio/_G_config.h
> because some types it is expecting are not being defined. This could be a
> result of the configuration process getting confused.
Don't worry about the libio directory right now. Can you jump ahead to the
src directory and try to build in that subdir?
thanks,
benjamin