sercantutar / infint

Arbitrary-Precision Integer Arithmetic
http://sercantutar.github.io/infint/
201 stars 49 forks source link

<climits> missing in InfInt.h #9

Closed shaklev closed 6 years ago

shaklev commented 7 years ago

When I include "InfInt.h" in my "main.cpp" file , i get lots undeclared variables , such as : ULONG_MAX, ULONG_LONG_MAX, LONG_MAX etc... Including #include <climits> in the "InfInt.h" file , solves the issue.

NOTE: I'm using g++ gcc on Fedora24 for compiling

melvyniandrag commented 7 years ago

Same issue here. I see limits.h is commented out in the header. Wonder why. Maybe on some platform the header was automatically included or something?