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

Some constexpr code fails to compile on GCC < 7.2 #2246

Closed
Ghabry opened this issue Jun 14, 2020 · 2 comments · Fixed by #2247
Closed

Some constexpr code fails to compile on GCC < 7.2 #2246

Ghabry opened this issue Jun 14, 2020 · 2 comments · Fixed by #2247

Comments

@Ghabry
Copy link
Member

Ghabry commented Jun 14, 2020

Some of our code appears to fail to compile with older GCC as noticed by someone on Twitter:

See

Maybe this worked in gcc5 but broke in 5.1 - 7.1?

@fmatthew5876
Copy link
Contributor

This is a bug anyway, those functions should be static. I fixed it in my huge PR, but I can backport this small fix to unblock people.

@fmatthew5876
Copy link
Contributor

Also would it make sense / be a lot of work to setup a new linux / gcc5 build? Basically a jenkins build that only runs on merge master which tests our advertised minimum supported compiler version.

@carstene1ns carstene1ns added this to the 0.6.3 milestone Jun 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging a pull request may close this issue.

3 participants