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

fix for #2286 - avoid header compilation failure in %install phase #2288

Merged
merged 1 commit into from
Oct 6, 2024

Conversation

undergraver
Copy link

Adding -std=c++17 to avoid header compilation failure which removes them from the list of headers.
Fixing #2286 - tested on openSUSE15.6 with gcc 7.5 compiler which is not c++17 or newer by default.

The explanation for working with g++ 14.2 (on openSUSE Tumbleweed) is that the compiler is by default c++17 while g++ 7.5 is c++14 even if the compiler is capable of handling c++17 specs - which is actually used in compilation.

@jwillemsen jwillemsen merged commit ae8f47c into DOCGroup:master Oct 6, 2024
44 checks passed
@jwillemsen
Copy link
Member

Thanks!

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

Successfully merging this pull request may close these issues.

2 participants