public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andreas Schwab <schwab@suse.de>
To: "linux-os (Dick Johnson)" <linux-os@analogic.com>
Cc: "John Anthony Kazos Jr." <jakj@j-a-k-j.com>,
	"Randy Dunlap" <randy.dunlap@oracle.com>,
	"Richard Knutsson" <ricknu-0@student.ltu.se>,
	"Jiri Bohac" <jbohac@suse.cz>, <akpm@osdl.org>,
	"Linux kernel" <linux-kernel@vger.kernel.org>
Subject: Re: [RFC][PATCH] fix abs() macro to work with types wider than int
Date: Wed, 25 Apr 2007 23:57:53 +0200	[thread overview]
Message-ID: <jehcr415i6.fsf@sykes.suse.de> (raw)
In-Reply-To: <Pine.LNX.4.61.0704251612090.27302@chaos.analogic.com> (linux-os@analogic.com's message of "Wed, 25 Apr 2007 16:30:29 -0400")

"linux-os (Dick Johnson)" <linux-os@analogic.com> writes:

> The original query was for a macro.

A macro that does not evaluate its argument more than once.  If you want
it to match the behaviour as defined by the C standard then it is not
allowed to do so.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

      reply	other threads:[~2007-04-25 21:58 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-19  9:23 [RFC][PATCH] fix abs() macro to work with types wider than int Jiri Bohac
2007-04-19 15:43 ` Randy Dunlap
2007-04-20 12:44   ` Richard Knutsson
2007-04-25 15:20     ` Randy Dunlap
2007-04-25 15:26       ` John Anthony Kazos Jr.
2007-04-25 15:38         ` Randy Dunlap
2007-04-25 23:42           ` John Anthony Kazos Jr.
2007-04-25 18:24         ` linux-os (Dick Johnson)
2007-04-25 20:05           ` Andreas Schwab
2007-04-25 20:30             ` linux-os (Dick Johnson)
2007-04-25 21:57               ` Andreas Schwab [this message]

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=jehcr415i6.fsf@sykes.suse.de \
    --to=schwab@suse.de \
    --cc=akpm@osdl.org \
    --cc=jakj@j-a-k-j.com \
    --cc=jbohac@suse.cz \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-os@analogic.com \
    --cc=randy.dunlap@oracle.com \
    --cc=ricknu-0@student.ltu.se \
    /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