From: WANG Cong <xiyou.wangcong@gmail.com>
To: Jan Engelhardt <jengelh@computergmbh.de>
Cc: Al Viro <viro@ftp.linux.org.uk>,
Linus Torvalds <torvalds@linux-foundation.org>,
mingo@redhat.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] take sched_debug.c out of nasal demon territory
Date: Wed, 8 Aug 2007 17:17:53 +0800 [thread overview]
Message-ID: <20070808091752.GA5548@localhost.localdomain> (raw)
In-Reply-To: <Pine.LNX.4.64.0708061750270.13469@fbirervta.pbzchgretzou.qr>
On Mon, Aug 06, 2007 at 05:51:29PM +0200, Jan Engelhardt wrote:
>
>On Aug 6 2007 04:26, Al Viro wrote:
>>
>> C99 6.10.3[11]: preprocessing directive within the argument list
>>of macro invocation => undefined behaviour. Don't do that...
>
>String concatenation ("a" "b") is not a preprocessing directive.
>
>$ gcc -E test.c
># 1 "test.c"
># 1 "<built-in>"
># 1 "<command line>"
># 1 "test.c"
>printf("a" "b");
>
>(If it was, the "a" "b" would have already been joined.)
>
Yes. According to C99 5.1.1.2, string concatenation is done in Phase 6,
that's after preprocessing.
Regards.
--
_ /|
\'o.O'
=(___)=
U ack!
prev parent reply other threads:[~2007-08-08 9:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-06 3:26 [PATCH] take sched_debug.c out of nasal demon territory Al Viro
2007-08-06 15:51 ` Jan Engelhardt
2007-08-06 17:05 ` Al Viro
2007-08-08 9:17 ` WANG Cong [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=20070808091752.GA5548@localhost.localdomain \
--to=xiyou.wangcong@gmail.com \
--cc=jengelh@computergmbh.de \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=torvalds@linux-foundation.org \
--cc=viro@ftp.linux.org.uk \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.