Thread (1 message) 1 message, 1 author, 2026-01-08

Re: [PATCH v2 1/3] t/unit-tests: update clar to 39f11fe

From: Junio C Hamano <hidden>
Date: 2026-01-08 12:46:18

Jeff King [off-list ref] writes:
quoted
The alternative would be to make this `cl_fail(...)` instead, but to the
best of my knowledge this isn't even a valid construct.
It is valid; that's how we define BUG(), for example.
Thanks.  I was wondering how that thing was working after seeing
Patrick's message ;-).
There are other options like GNU's "## __VA_ARGS__", but I think eating
the format argument with the "..." is the only portable way, at least
for standard versions we'd support. I think C23 added __VA_OPT__.

-Peff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help