Bug 216269 - dev-cpp/libherdstat-0.1.1-r1 fails t o build with gcc 4.3
Bug#: 216269 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: cpp@gentoo.org Reported By: jkt@gentoo.org
Component: Applications
URL: 
Summary: dev-cpp/libherdstat-0.1.1-r1 fails t o build with gcc 4.3
Keywords:  
Status Whiteboard: 
Opened: 2008-04-05 01:38 0000
Description:   Opened: 2008-04-05 01:38 0000
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

------- Comment #1 From Jan Kundrát 2008-04-05 02:30:32 0000 -------
Created an attachment (id=148690) [details]
libherdstat-gcc-4.3.patch

------- Comment #2 From Tiziano Müller 2008-04-30 23:49:05 0000 -------
Fixed, thanks.