Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GCC and CMake do not work properly on macOS #2646

Open
Bouncner opened this issue May 22, 2024 · 1 comment
Open

GCC and CMake do not work properly on macOS #2646

Bouncner opened this issue May 22, 2024 · 1 comment
Assignees

Comments

@Bouncner
Copy link
Collaborator

GCC 14 works just fine on macOS, but there are issues with CMake that block us from enabling GCC on macOS.

CMake 3.30 will fix this issue (https://gitlab.kitware.com/cmake/cmake/-/merge_requests/9483).

@Bouncner Bouncner self-assigned this May 22, 2024
@Bouncner
Copy link
Collaborator Author

Bouncner commented May 23, 2024

There is another issue with GCC and using the pretty outdated libc++ shipped with macOS.

GCC (rightfully) complains about the usage of std::atomic_load in our code. But we cannot used std::atomic<std::shared_ptr>> as the macOS shipped libc++ has not yet a shared_ptr (was it trivially constructable? I don't remember) that is usable with std::atomic.

So it might take a while until we can use GCC on macOS (check for "atomic" and "shared_ptr" and Apple Clang support here: https://en.cppreference.com/w/cpp/compiler_support).

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

No branches or pull requests

1 participant