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

pf.h: #include <limits> (for std::numeric_limits) for gcc 11+ #49

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Sep 11, 2023

  1. Update pf.h to #include <limits> (for std::numeric_limits) as require…

    …d by gcc 11+
    
    With gcc 11, some C++ Standard Library headers have been changed to no longer include other headers that were being used internally by the library. As such, C++ programs that used standard library components without including the right headers will no longer compile.
    
    The following headers are used less widely in libstdc++ and may need to be included explicitly when compiled with GCC 11:
    
    <limits> (for std::numeric_limits)
    
    https://gcc.gnu.org/gcc-11/porting_to.html#header-dep-changes
    kalgen432 committed Sep 11, 2023
    Configuration menu
    Copy the full SHA
    f5e4bed View commit details
    Browse the repository at this point in the history