Skip to content

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

Open
kbeckmann wants to merge 2 commits into
trilomix:masterfrom
kbeckmann:fix_linux
Open

linux: Specify -std=c++11 when building#9
kbeckmann wants to merge 2 commits into
trilomix:masterfrom
kbeckmann:fix_linux

Conversation

@kbeckmann

Copy link
Copy Markdown

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
Copy Markdown
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

tcal-x commented Nov 11, 2022

Copy link
Copy Markdown

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