On Sat, Oct 04, 2003 at 07:43:01PM +0200, Farid Hajji wrote:
> > > I think we should disallow direct inclusion of <linux/*.h> in Glibc, any
> > > comments?
> > There don't exist any <linux/*.h> headers in glibc, they come from
> > Linux.
> 
> Perhaps glibc should provide its own <linux/*.h> wrappers which
> would spew out warnings, but still #include the real linux headers
> (I assume something from /usr/src/linux/include/*.h or whatever)
> anyway?

This is just too much of a burden for little gain. Everybody who uses
<linux/*> headers in general applications doesn't know what he is
doing. They will just #define USE_LINUX or whatever to get rid of the
warning/error. The real solution here is teaching people to do the
right thing, not putting silly things in glibc which don't solve the
problem at all.

Jeroen Dekkers


_______________________________________________
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd

Reply via email to