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

Compile sakura as C++11 to avoid std::data clash #1092

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

LourensVeen
Copy link
Collaborator

This tells the compiler that sakura is C++11, which keeps it from defining std::data from C++17, which avoids a clash with the variable named data and a failed compile.

Brutus had this problem too, a better solution is to get rid of using namespace std; which I've implemented in the new build system branch. This is just a short-term fix so that Berend can go simulate things, and it's good enough for that.

@LourensVeen LourensVeen self-assigned this Nov 13, 2024
@LourensVeen LourensVeen requested a review from a team as a code owner November 13, 2024 14:03
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.

1 participant