[lkml]   [2008]   [Apr]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [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.


 \ /
  Last update: 2008-04-20 21:09    [W:0.036 / U:37.400 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site