Closed ax3l closed 9 years ago
Red Hat 4.4.7-3 + GCC 4.4.7 (Scientific Linux 6 on LBL's Lawrencium)
DCHelper.hpp:151: error: call of overloaded 'abs(size_t)' is ambiguous
abs(size_t) lives in <cstdlib> (not <cmath>) and is not in the std:: namespace [1]
abs(size_t)
<cstdlib>
<cmath>
std::
[1] http://compgroups.net/comp.lang.c++.moderated/std-abs-int-ambiguous/195658
@f-schmitt-zih a gentle reminder :) red hat deserves some love, too.
For sure! :)
System
Red Hat 4.4.7-3 + GCC 4.4.7 (Scientific Linux 6 on LBL's Lawrencium)
Error message
DCHelper.hpp:151: error: call of overloaded 'abs(size_t)' is ambiguous
abs(size_t)
lives in<cstdlib>
(not<cmath>
) and is not in thestd::
namespace [1][1] http://compgroups.net/comp.lang.c++.moderated/std-abs-int-ambiguous/195658