[Bug libstdc++/60401] New: stdlib.h does not provide abs(long) overload
sbergman at redhat dot com
gcc-bugzilla@gcc.gnu.org
Mon Mar 3 17:06:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60401
Bug ID: 60401
Summary: stdlib.h does not provide abs(long) overload
Product: gcc
Version: 4.9.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: sbergman at redhat dot com
When libstdc++ sits on top of glibc, including stdlib.h does not provide an
abs(long) overload (unlike including cstdlib providing a std::abs(long)
overload).
Similarly for C++11 abs(long long) and stdlib.h vs. cmath abs(float/double/long
double).
(Fixing this needs cooperation with glibc, see the mail thread starting at
<http://gcc.gnu.org/ml/libstdc++/2014-03/msg00002.html> "stdlib.h abs(long)
overload?")
More information about the Gcc-bugs
mailing list