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

[DM-32256] Fix compilation with g++ 11 #33

Merged
merged 1 commit into from Oct 27, 2021
Merged

[DM-32256] Fix compilation with g++ 11 #33

merged 1 commit into from Oct 27, 2021

Conversation

rra
Copy link
Member

@rra rra commented Oct 22, 2021

As of 11.0, libstdc++ fixed places where standard library headers
were including other headers that they did not need to depend on.
As a result, an implicit include of <limits> must now be made
explicit in more places.

Add an explicit include of <limits> to every file that uses
std::numeric_limits.

https://www.gnu.org/software/gcc/gcc-11/porting_to.html#header-dep-changes
has more discussion.

As of 11.0, libstdc++ fixed places where standard library headers
were including other headers that they did not need to depend on.
As a result, an implicit include of <limits> must now be made
explicit in more places.

Add an explicit include of <limits> to every file that uses
std::numeric_limits.

https://www.gnu.org/software/gcc/gcc-11/porting_to.html#header-dep-changes
has more discussion.
@rra rra requested review from TallJimbo and timj October 22, 2021 21:37
Copy link
Member

@timj timj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@rra rra merged commit 42486dd into master Oct 27, 2021
@rra rra deleted the tickets/DM-32256 branch October 27, 2021 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants