Skip to content

Remove using enum statements for C++17 compatibility#3338

Closed
Steven-Roberts wants to merge 1 commit intoboutproject:nextfrom
Steven-Roberts:next
Closed

Remove using enum statements for C++17 compatibility#3338
Steven-Roberts wants to merge 1 commit intoboutproject:nextfrom
Steven-Roberts:next

Conversation

@Steven-Roberts
Copy link
Contributor

using enum statements require C++20, so I was getting compilation errors with an old compiler.

@bendudson
Copy link
Contributor

Hi @Steven-Roberts ! Do you need to use an old compiler? The C++ version is set to C++20 in CMakeLists: https://github.com/boutproject/BOUT-dev/blob/next/CMakeLists.txt#L533

@Steven-Roberts
Copy link
Contributor Author

No, I can use a newer one. The README says C++17 can be used, though

* A C++17 compiler

@bendudson
Copy link
Contributor

No, I can use a newer one. The README says C++17 can be used, though

* A C++17 compiler

Ah sorry! We should fix the README.

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