Closed ajkhoury closed 4 months ago
Many thanks for this. The project doesn't support clang right now, but I have plans to get it to work with it since I'm also interested in moving it over to mac. This will help in that work. Thank You :)
I'll look into it hopefully some time next week.
This and the other issue are the only two changes I had to make to support clang :)
I'll see to it that it's added as soon as possible. For now I've updated the LeechCore with the atomics since I had another change in there anyway.
Can you check if the latest release just published fixes this issue?
Yes all fixed, thanks!
When compiling with Clang targeting C11 or later, the following errors occur when compiling
vmm/oscompatibility.c
regarding the atomic operations:Please consider using or casting to a required
_Atomic
type, i.e. theatomic_uint
type defined in stdatomic.h. Below is a quick patch: