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

The toolchain won't compile correctly using g++ 11 #52

Closed
ghost opened this issue Aug 22, 2021 · 1 comment
Closed

The toolchain won't compile correctly using g++ 11 #52

ghost opened this issue Aug 22, 2021 · 1 comment
Assignees
Labels

Comments

@ghost
Copy link

ghost commented Aug 22, 2021

The error is error: use of an operand of type ‘bool’ in ‘operator++’ is forbidden in C++17. This seems to happen because g++ 11 uses by default c++17 instead of c++14. This is confirmed by the fact that the toolchain does compile using g++ 10.

@dciabrin
Copy link
Owner

Thanks for the report, this will require a tweak to ngdevkit-toolchain.
Let me recompile my local version and see if a simple CXXFLAG tweak in ngdevkit-toolchain will fix the issue.

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

No branches or pull requests

1 participant