From: Stefan Richter <stefanr@s5r6.in-berlin.de>
To: Rusty Russell <rusty@rustcorp.com.au>
Cc: Jan Beulich <jbeulich@novell.com>, Andi Kleen <ak@muc.de>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] BUILD_BUG_ON_ZERO -> BUILD_BUG_OR_ZERO
Date: Mon, 12 Mar 2007 12:41:01 +0100 [thread overview]
Message-ID: <45F53C4D.30802@s5r6.in-berlin.de> (raw)
In-Reply-To: <1173691510.32234.222.camel@localhost.localdomain>
Rusty Russell wrote:
> On Mon, 2007-03-12 at 08:23 +0000, Jan Beulich wrote:
>> I have to admit that I don't see the point here - I can't seem to make
>> any sense of the OR... Jan
>
> At least one other person thought that:
>
> #define BUILD_BUG_ON_ZERO(e) BUILD_BUG_ON((e) == 0)
>
> OTOH, BUILD_BUG_OR_ZERO says what happens: either it's a build bug, or
> it's zero.
What about ZERO_UNLESS_BUILD_BUG_ON(e)? It's long though...
--
Stefan Richter
-=====-=-=== --== -==--
http://arcgraph.de/sr/
next prev parent reply other threads:[~2007-03-12 11:41 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-11 23:28 [PATCH] BUILD_BUG_ON_ZERO -> BUILD_BUG_OR_ZERO Rusty Russell
2007-03-12 8:23 ` Jan Beulich
2007-03-12 8:39 ` Jan Engelhardt
2007-03-12 9:25 ` Rusty Russell
2007-03-12 11:41 ` Stefan Richter [this message]
2007-03-12 11:49 ` Robert P. J. Day
2007-03-12 14:14 ` Stefan Richter
2007-03-12 22:25 ` Rusty Russell
2007-03-12 9:42 ` Andi Kleen
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=45F53C4D.30802@s5r6.in-berlin.de \
--to=stefanr@s5r6.in-berlin.de \
--cc=ak@muc.de \
--cc=jbeulich@novell.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rusty@rustcorp.com.au \
/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