[Bug libstdc++/35914] missing int std::abs(int)

pcarlini at suse dot de gcc-bugzilla@gcc.gnu.org
Sat Apr 12 19:30:00 GMT 2008



------- Comment #1 from pcarlini at suse dot de  2008-04-12 19:29 -------
You want to include <cstdlib>: <cmath> only provides overloads for floating
point types (see 26.5 for details).


-- 

pcarlini at suse dot de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
          Component|c++                         |libstdc++
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35914



More information about the Gcc-bugs mailing list