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

Incorrect C++ standard #350

Open
johnhe4 opened this issue Aug 23, 2024 · 0 comments
Open

Incorrect C++ standard #350

johnhe4 opened this issue Aug 23, 2024 · 0 comments

Comments

@johnhe4
Copy link

johnhe4 commented Aug 23, 2024

Not sure how this is building for everyone else, but on master the CMakeLists.txt is setting the C++ standard to 98:

set(CMAKE_CXX_STANDARD 98)

But any modern installation of boost uses clauses such as noexcept which are C++ 11 or later. I received many compilation issues out-of-the-box because of this. I recommend setting this to 11 to avoid others from stumbling on this, and those that have ancient versions of boost can set it back locally if they care:

set(CMAKE_CXX_STANDARD 11)
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