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

Fix missing includes of <limits> #2

Merged
merged 1 commit into from
Jun 24, 2021
Merged

Commits on Jun 12, 2021

  1. Fix missing includes of <limits>

    Example compile error from gcc-11.1.0 on archlinux:
    /home/jade/builds/brlcad/src/brlcad/src/libged/brep/brep.cpp: In function ‘int _brep_cmd_plate_mode(void*, int, const char*
    *)’:
    /home/jade/builds/brlcad/src/brlcad/src/libged/brep/brep.cpp:810:48: error: ‘numeric_limits’ is not a member of ‘std’
      810 |     ss << std::fixed << std::setprecision(std::numeric_limits<double>::max_digits10) << pthicknessmm;
          |                                                ^~~~~~~~~~~~~~
    lf- committed Jun 12, 2021
    Configuration menu
    Copy the full SHA
    4f6f160 View commit details
    Browse the repository at this point in the history