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

Apple clang v 15.0.0 cannot build registry #2204

Closed
andrew-platt opened this issue May 10, 2024 · 2 comments
Closed

Apple clang v 15.0.0 cannot build registry #2204

andrew-platt opened this issue May 10, 2024 · 2 comments

Comments

@andrew-platt
Copy link
Collaborator

andrew-platt commented May 10, 2024

Bug description
On a Mac using the default c compiler clang from Apple, the following error occurs while building the registry (dev branch at commit a98f8bc):

Screenshot 2024-05-10 at 3 41 59 PM

Compiler specifics:

Apple clang version 15.0.0 (clang-1500.3.9.4)
Target: x86_64-apple-darwin23.4.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

The alternative is to use the gcc compiler. However, we are likely to get questions on this if we don't address it.

@deslaughter
Copy link
Collaborator

The openfast_registry CMakeLists.txt file has the wrong version for the C++ standard. std::quoted is part of the C++14 standard, whereas the current version is listed as C++11. Most compilers in use should support C++14 so I'll summit a PR to change the required C++ standard version.

@andrew-platt
Copy link
Collaborator Author

andrew-platt commented May 13, 2024

Fixed with #2210

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants