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

linux: Specify -std=c++11 when building #9

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

kbeckmann
Copy link

GCC 11 updated its default c++ standard from 11 to 17 which caused issues related to std::byte among other things.

I made it build by specifying -std=c++11.

I also renamed CC/CFLAGS to CXX/CXXFLAGS to be more specific that c++ is being compiled.

@trilomix
Copy link
Owner

Hello kbeckmann,

I didn't merge your fix as there is a conflict with old gcc so I need to introduce gcc dependent compilation...
On the TODO list...

@tcal-x
Copy link

tcal-x commented Nov 11, 2022

Thanks @kbeckmann, I hit the std::byte issue as well and this patch allowed me to build.

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.

3 participants