[PATCH] missing va_end() in some IO functions (gmp 6.1.2)

Niels Möller nisse at lysator.liu.se
Wed Mar 13 16:05:02 UTC 2019


Vincent Lefevre <vincent at vinc17.net> writes:

> Moreover, the va_end(3) man page says:
>
>   On  some  systems,  va_end  contains  a  closing  '}' matching a '{' in
>   va_start, so that both macros must occur in the same function, and in a
>   way that allows this.

Curious. Which man page, and which systems?

On such systems, va_copy would similarly have to be a macro with an
unmatched '{' in the expansion, right? Sounds more than a bit awful.

Regards,
/Niels

-- 
Niels Möller. PGP-encrypted email is preferred. Keyid 368C6677.
Internet email is subject to wholesale government surveillance.


More information about the gmp-bugs mailing list