On 2026-08-21 15:40, Bruno Haible via Gnulib discussion list wrote:
Does anyone see a workaround?

I assume it's a dynamically generated API. Are you trying to link C23 code with 
pre-C23 code?

The only think I can think of, other than assembler, is to convert every API to (int 
dummy, ...) form, and then to use stdarg for every actual argument while ignoring the 
dummy. This form should work with both C23 and pre-C23 and I hope it would interoperate. 
(As an hacky optimization, you could even use the "dummy" arg to represent the 
first int argument in the actual API, if there is such an argument; not sure it's worth 
the aggravation....)

Reply via email to