This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Misc portability improvements
- From: Robert Millan <rmh at aybabtu dot com>
- To: Ulrich Drepper <drepper at redhat dot com>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Sat, 8 Oct 2005 22:56:53 +0200
- Subject: Re: [PATCH] Misc portability improvements
- Organisation: free as in freedom
- References: <20050822130416.GA7682@aragorn> <20050902050903.4C2721809B0@magilla.sf.frob.com> <20051008095730.GA27741@aragorn> <4347E713.3000909@redhat.com>
On Sat, Oct 08, 2005 at 08:34:43AM -0700, Ulrich Drepper wrote:
> Robert Millan wrote:
> > Here's the part for header protection. Please consider.
>
> Completely unnecessary. The included headers have to do this.
Without this, included headers can't check wether the standard header was
included.
For example, I could want <linux/soundcard.h> to check wether <sys/soundcard.h>
is included and issue a warning if it's not (including <linux/soundcard.h> for
standard OSS programs is a gratuitous portability error)
--
Robert Millan