Re: [PATCH] take sched_debug.c out of nasal demon territory

2007-08-08 Thread WANG Cong
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

Re: [PATCH] take sched_debug.c out of nasal demon territory

2007-08-06 Thread Al Viro
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 preproc

Re: [PATCH] take sched_debug.c out of nasal demon territory

2007-08-06 Thread Jan Engelhardt
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 "" # 1 "" # 1 "test.c" p

[PATCH] take sched_debug.c out of nasal demon territory

2007-08-05 Thread Al Viro
C99 6.10.3[11]: preprocessing directive within the argument list of macro invocation => undefined behaviour. Don't do that... Signed-off-by: Al Viro <[EMAIL PROTECTED]> --- diff --git a/kernel/sched_debug.c b/kernel/sched_debug.c index 1c61e53..8421b93 100644 --- a/kernel/sched_debug.c ++