Re: Stringification of text with commas

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



nice!

2012/8/6 Jonathan Wakely <jwakely.gcc@xxxxxxxxx>:
> On 6 August 2012 16:46, Sergey Ivanov wrote:
>> #define GLOBAL_str_intermediate(s) #s
>> #define GLOBAL_str(s) GLOBAL_str_intermediate(s)
>>
>> GLOBAL_str(A<B,C>)
>
> Just enclose it in parentheses:
>
> GLOBAL_str( (A<B,C>) )



-- 
Kind regards,
Sergey Ivanov


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux