Messages in this thread | | | Date | Tue, 10 Mar 2009 20:18:47 +0900 | Subject | Re: [PATCH 3/7] tracing: use generic __stringify | From | KOSAKI Motohiro <> |
| |
2009/3/10 Frederic Weisbecker <fweisbec@gmail.com>: > On Tue, Mar 10, 2009 at 12:57:13AM -0400, Steven Rostedt wrote: >> From: Steven Rostedt <srostedt@redhat.com> >> >> Impact: clean up >> >> This removes the custom made STR(x) macros in the tracer and uses >> the generic __stringify macro instead. >> >> Signed-off-by: Steven Rostedt <srostedt@redhat.com> >> --- > > > Hi, > > Why not simply use the # ? > > Frederic.
see following url's xstr macro description.
http://gcc.gnu.org/onlinedocs/gcc-4.3.3/cpp/Stringification.html#Stringification
| |