hokein wrote:

clang19 rejects this code as well, https://godbolt.org/z/Yf96W8KWv. 

To make this case work, I think we should use the `__VA_OPT__`.

`#define debug_nok(...) fprintf(stderr, "qwerty" __VA_OPT__(,) ## __VA_ARGS__)`

https://github.com/llvm/llvm-project/pull/125232
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to