[Bug libstdc++/27340] valarray uses __cos which may conflict with libm functions
marc dot glisse at normalesup dot org
gcc-bugzilla@gcc.gnu.org
Sat Feb 6 17:52:00 GMT 2010
------- Comment #9 from marc dot glisse at normalesup dot org 2010-02-06 17:52 -------
(In reply to comment #8)
> It seems this can be safely closed as invalid, there is no reason why
> std::__cos should be wrong.
Marking this as invalid means that we can never include solaris libc headers
with __cplusplus >= 199711 (which declare std::__cos as a function) without
fixincluding them beyond recognition.
Even without this problem on solaris, using in libstdc++ names as generic as
std::__cos for a functionality limited to valarray doesn't seem like an ideal
naming convention.
But then, the choice is yours, I am not ticking the "reopen" box.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27340
More information about the Gcc-bugs
mailing list