[openbeos] Re: GCC headers in headers/posix

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Wed, 09 Nov 2005 10:07:46 +0100 CET

Ingo Weinhold <bonefish@xxxxxxxxxxxxxxx> wrote:
> On 2005-11-08 at 18:38:37 [+0100], Jérôme Duval wrote:
> > Selon Ingo Weinhold <bonefish@xxxxxxxxxxxxxxx>:
> [...]
> > BTW is the src/system/libroot/posix/glibc/libio/_G_config.h header 
> > meant to 
> > be the same as headers/glibc/_G_config.h ?
> > I would guess it is (There Can Be Only One).
> The public header is basically just a hacked copy of the other one 
> (removing 
> dependencies to other glibc headers). The problem is, that 
> _G_config.h is 
> included from public headers, so it must live in a public place (just 
> as in 
> BeOS). Recent glibc versions come with a whole bunch of public 
> headers 
> ("bits/...", "arch/..."). It's almost a bit surprising that things 
> work the 
> way we use them, but it's probably thanks to the fact that we 
> basically only 
> use the libio part of glibc.

If we could remove the dependents to _G_config.h in public headers 
would be nice, too.
The only thing I wouldn't want to touch are GCC private headers, though 
- I wouldn't mind "fixing" libstdc++ headers.

Bye,
   Axel.


Other related posts: