Skip to content

Update VA_COPY macro to use va_copy function#2

Closed
ghost wants to merge 1 commit intomasterfrom
unknown repository
Closed

Update VA_COPY macro to use va_copy function#2
ghost wants to merge 1 commit intomasterfrom
unknown repository

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Apr 25, 2026

Move variable declaration to the top of the scope.

va_list isn't guarenteed to be a simple assignable type. In the case it's not #define VA_COPY(dest, src) (dest) = (src) produces undefined behaviour
@ghost ghost closed this Apr 25, 2026
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants