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>) )
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>) )