[Bug target/114484] #include <xmmintrin.h> changes ::abs in std::abs
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Mar 26 16:49:26 GMT 2024
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114484
--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #6)
> For the specific case of <cstdlib>, you know that includes <stdlib.h> and
> always adds abs(int) to the global namespace, right? It's actually a bug
> that <cstdlib> doesn't always add abs(long) and abs(long long) to the global
> namespace too,
*and* abs(float), abs(double), and abs(long double) too.
> see PR 89855.
Maybe that bug is the real issue you're reporting?
More information about the Gcc-bugs
mailing list