linux-mips
[Top] [All Lists]

Re: CVS Update@-mips.org: linux

To: ralf@linux-mips.org
Subject: Re: CVS Update@-mips.org: linux
From: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
Date: Tue, 9 Sep 2003 15:40:44 +0200 (MET DST)
Cc: linux-mips@linux-mips.org
In-reply-to: <20030909113150Z8225348-1272+5180@linux-mips.org>
Organization: Technical University of Gdansk
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
On Tue, 9 Sep 2003 ralf@linux-mips.org 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>