This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/13943] call of overloaded `llabs(int)' is ambiguous
- From: "pcarlini at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 May 2005 09:15:54 -0000
- Subject: [Bug libstdc++/13943] call of overloaded `llabs(int)' is ambiguous
- References: <20040131115251.13943.debian-gcc@lists.debian.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pcarlini at suse dot de 2005-05-22 09:15 -------
Gaby, can you have a look? It seems to me that we should use the same approach
used in std_cmath.h for fpclassify & co. In particular, when _GLIBCXX_USE_C99
is defined - that explicitly checks for llabs and lldiv - do *not* open code
llabs and lldiv. Probably the open coding of the overloads abs(long long) and
div(long long, long long) should stay, however, as a straightforward extension
of 26.5/4 for long long.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |pcarlini at suse dot de, gdr
| |at integrable-solutions dot
| |net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13943