GEOS-DEV / thirdPartyLibs

Repository to build the GEOSX third party libraries
3 stars 12 forks source link

compilation issue #210

Closed untereiner closed 8 months ago

untereiner commented 1 year ago
thirdPartyLibs/cmake/blt/thirdparty_builtin/benchmark-1.5.0/src/benchmark_register.h:22:30: error: no member named 'numeric_limits' in namespace 'std'
  static const T kmax = std::numeric_limits<T>::max();

with gcc 12.2

I solved the problem by adding #include <limits> at the top of benchmark_register.h

Did anyone experienced this issue ?