Skip to content

Conversation

@jimhub
Copy link
Contributor

@jimhub jimhub commented Dec 6, 2025

Fix function signature for memmove to prevent errors when compiling C++ while targeting wasm (specifically when building L4/odin-imgui).

From my limited research, this appears to be the correct signature for most (if not all) modern platforms:

https://learn.microsoft.com/en-us/cpp/c-runtime-library/reference/memmove-wmemmove?view=msvc-170
http://git.musl-libc.org/cgit/musl/tree/src/string/memmove.c
https://man.freebsd.org/cgi/man.cgi?query=memmove&sektion=3
https://man7.org/linux/man-pages/man3/memmove.3.html

@laytan laytan merged commit effdacd into odin-lang:master Dec 9, 2025
8 checks passed
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.

2 participants