In file included from misc.cc:36: ../../herdstat/util/string.hh: In function ‘std::string herdstat::util::lowercase(const std::string&)’: ../../herdstat/util/string.hh:109: error: ‘transform’ is not a member of ‘std’ ../../herdstat/util/string.hh: In function ‘void herdstat::util::lowercase_inplace(std::string&)’: ../../herdstat/util/string.hh:117: error: ‘transform’ is not a member of ‘std’ ../../herdstat/util/string.hh: In function ‘T herdstat::util::destringify(const std::string&) [with T = long unsigned int]’: ../../herdstat/util/string.hh:189: error: ‘ULONG_MAX’ was not declared in this scope misc.cc: In function ‘time_t herdstat::util::str2epoch(const char*, const char*)’: misc.cc:159: error: ‘memset’ is not a member of ‘std’ In file included from string.cc:38: ../../herdstat/util/string.hh: In function ‘T herdstat::util::destringify(const std::string&) [with T = long unsigned int]’: ../../herdstat/util/string.hh:189: error: ‘ULONG_MAX’ was not declared in this scope
Created attachment 148690 [details, diff] libherdstat-gcc-4.3.patch
Fixed, thanks.