Build of v3 with GCC11 fails
hedtke opened this issue · comments
Report
- I have searched existing issues and this is not a duplicate
Issues and Steps to Reproduce
Build with GCC11
Expected Behavior
Successful Build
Actual Behavior
warnings are treated as errors and there are conversion warnings
Link to Code
Interesting… the continuous runs against GCC 11.4 (GCC from ubuntu-latest) seem to succeed. I can see 11.1 in the logs for the failing version. Maybe a difference in conversion warnings for constexpr numbers?
In general, I wonder if it would make sense for distribution on something like Conan to turn down some of the high warning level we opted into inside of the repo, so that users on compiler versions we don’t directly test won’t see new build errors.
Otherwise, I suspect we could probably fix this by changing the width of some variables, but don’t have a nice way to test that locally.
I’m going to remove GCC conversion warnings in the reference build.
I will pick this as part of a new 3.x patch release.