[Bug c++/78042] g++ does not select the corresponding overloads of abs() for long and long long

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Oct 20 02:10:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78042

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Invalid, you are calling abs and not std::abs.  There is (or was) a defect
report about C abs function being included in the global scope rather than just
in the std scope.


More information about the Gcc-bugs mailing list