This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Misc portability improvements


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


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