Messages in this thread | | | Date | Sun, 20 Apr 2008 21:06:31 +0200 | From | Sam Ravnborg <> | Subject | Re: [PATCH] Stringify support commas |
| |
On Sun, Apr 20, 2008 at 02:32:56PM -0400, Mathieu Desnoyers wrote: > #define MYDEF a, b, c > > __stringify(MYDEF) should be replaced by "a, b, c", but compilation fails > because the __stringify macro expects only one argument. Fix it by using > variable macro arguments in __stringify and __stringify_1. > > Needed in my current NMI safe iret paravirt support work so I can expand > a macro containing assembly code into a string.
This is a no-no for those archs that still use -traditional. I dunno if this is a problem for you at the moment and the right fix is anyway to nuke -traditional.
Sam
| |