Skip to content

Update VA_COPY macro to use va_copy function#2

Closed
programmer-1101 wants to merge 1 commit intooffscale:masterfrom
programmer-1101:master
Closed

Update VA_COPY macro to use va_copy function#2
programmer-1101 wants to merge 1 commit intooffscale:masterfrom
programmer-1101:master

Conversation

@programmer-1101
Copy link
Copy Markdown

@programmer-1101 programmer-1101 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
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.

1 participant