[Top] [All Lists]

Re: CVS linux

Subject: Re: CVS linux
From: "Maciej W. Rozycki" <>
Date: Tue, 9 Sep 2003 15:40:44 +0200 (MET DST)
In-reply-to: <>
Organization: Technical University of Gdansk
Original-recipient: rfc822;
On Tue, 9 Sep 2003 wrote:

>       Avoid conflict with glibc on bigendian platforms when -O or higher
>       is specified.  It's already in 2.6, and I'm not sure why it hasn't
>       been seen in 2.4.  The symptom is that this program will not compile
>       with -O2:
>       #include <asm/byteorder.h>
>       #include <netinet/in.h>
>       int main () { }

 Is <asm/byteorder.h> ever included by glibc headers?  I hope not and user
programs *must* not include kernel headers.  Your program is buggy.

<Prev in Thread] Current Thread [Next in Thread>