Skip to content

Add of the "#include <limits>" when necessary - #66

Open
AnnoyedUnicorn wants to merge 1 commit into
larkmjc:masterfrom
AnnoyedUnicorn:includeLimits
Open

Add of the "#include <limits>" when necessary#66
AnnoyedUnicorn wants to merge 1 commit into
larkmjc:masterfrom
AnnoyedUnicorn:includeLimits

Conversation

@AnnoyedUnicorn

Copy link
Copy Markdown

Some compilers (such as GCC by default on Arch Linux) do not include it automatically (and others do, like on Ubuntu) so it is better to include specifically all headers needed.

Without it it does not build at all on theses systems, and the inclusion of it souldn't change anything on the others.

In order to avoid compilation errors on compilers that do not include it automatically
@gsmecher

gsmecher commented Aug 1, 2023

Copy link
Copy Markdown

This PR is also required with g++ 12.2.0 (Debian 12.2.0-14).

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.

2 participants