Closed shaklev closed 6 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.
"InfInt.h"
"main.cpp"
ULONG_MAX, ULONG_LONG_MAX, LONG_MAX
#include <climits>
NOTE: I'm using g++ gcc on Fedora24 for compiling
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?
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