From: Richard Henderson <rth@cygnus.com>
To: "Kaveh R. Ghazi" <ghazi@caip.rutgers.edu>
Cc: law@cygnus.com, martin@mira.isdn.cs.tu-berlin.de,
egcs@cygnus.com, wilson@cygnus.com
Subject: Re: Checking patch
Date: Sat, 09 May 1998 01:39:00 -0000 [thread overview]
Message-ID: <19980509014025.41846@dot.cygnus.com> (raw)
In-Reply-To: <199805081547.LAA27492@caip.rutgers.edu>
On Fri, May 08, 1998 at 11:47:56AM -0400, Kaveh R. Ghazi wrote:
> +#ifndef STRINGIFY
> +# if defined(HAVE_CPP_STRINGIFY) || (defined(__GNUC__) && defined(__STDC__))
> +# define STRINGIFY(STRING) #STRING
If you are going to do something generic like this, make it
#define STRINGIFY1(STRING) #STRING
#define STRINGIFY(STRING) STRINGIFY1(STRING)
as otherwise, by ISO rules,
#define foo bar
STRINGIFY(foo)
will yield "foo" not "bar" as might be expected.
r~
next prev parent reply other threads:[~1998-05-09 1:39 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-05-08 12:13 Kaveh R. Ghazi
1998-05-08 12:13 ` Jeffrey A Law
1998-05-09 1:39 ` Richard Henderson [this message]
-- strict thread matches above, loose matches on Subject: below --
1998-05-12 9:49 Kaveh R. Ghazi
1998-05-10 6:17 Kaveh R. Ghazi
1998-05-11 9:07 ` Richard Henderson
[not found] <199805022201.AAA00799@mira.isdn.cs.tu-berlin.de>
1998-05-06 23:49 ` Jeffrey A Law
1998-05-07 11:23 ` Jim Wilson
1998-05-07 17:39 ` Martin von Loewis
1998-05-08 2:08 ` Jeffrey A Law
1998-05-08 2:08 ` Andreas Schwab
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=19980509014025.41846@dot.cygnus.com \
--to=rth@cygnus.com \
--cc=egcs@cygnus.com \
--cc=ghazi@caip.rutgers.edu \
--cc=law@cygnus.com \
--cc=martin@mira.isdn.cs.tu-berlin.de \
--cc=wilson@cygnus.com \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).