This is the mail archive of the libstdc++@sources.redhat.com mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: AIX atomicity.h support



Well, of the problems you mentioned, let's talk ctype for a moment,
or more generally, libio.

AIX and Solaris are suffering from the same problem:  glibc/libio includes
a header and assumes that certain types are defined in that header.
If libio from glibc 2.2 is going to be used, then IMHO the easiest fix
("easiest" == "smallest number of changes") is to provide that header
on non-Linux systems.  Again, IMHO.

Actually, we'd have to provide a slightly modified version of that header,
since it includes other headers which we couldn't depend on, etc.

Since this was the approach that got me a hacked-up version working
under Solaris, I'd be willing to work on this.  But it needs a decision
from the Hivemind first:  do we want to add a sys/cdefs.h to v3?  Are we
continuing to use libio?  (I've seen things that would seem to indicate
that we aren't...?)


Phil

-- 
pedwards at disaster dot jaj dot com  |  pme at sources dot redhat dot com
devphil at several other less interesting addresses in various dot domains
The gods do not protect fools.  Fools are protected by more capable fools.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]