mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Arjan van de Ven <arjan@infradead.org>
To: ebuddington@wesleyan.edu
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.6.18-mm1: true/false enum in linux/stddef.h fails glibc-2.4 compile
Date: Wed, 04 Oct 2006 17:57:04 +0200	[thread overview]
Message-ID: <1159977424.3000.23.camel@laptopd505.fenrus.org> (raw)
In-Reply-To: <20061004155155.GD17660@pool-71-123-69-209.wma.east.verizon.net>

On Wed, 2006-10-04 at 11:51 -0400, Eric Buddington wrote:
> There is an enum contained in some recent -mm versions of
> linux/stddef.h which seems to be horking my glibc-2.4 compile:
> 
> enum {
>         false   = 0,
>         true    = 1
> };
> 
> One way or another (I can't find where), 'true' and 'false' are
> getting defined to 1 and 0, turning the above into enum { 0=0, 1=1 },
> which though undeniable is not compilable.

I think you're making the mistake of using kernel headers for
userspace...... rather than the cleaned up headers.


  reply	other threads:[~2006-10-04 15:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-04 15:51 Eric Buddington
2006-10-04 15:57 ` Arjan van de Ven [this message]
2006-10-05 17:00   ` Richard Knutsson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1159977424.3000.23.camel@laptopd505.fenrus.org \
    --to=arjan@infradead.org \
    --cc=ebuddington@wesleyan.edu \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®