[Webkit-unassigned] [Bug 59249] Colliding isinf/isnan between C99 and C++0x with GCC 4.6.0

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 22 21:46:40 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=59249





--- Comment #5 from Alexey Proskuryakov <ap at webkit.org>  2011-04-22 21:46:40 PST ---
(From update of attachment 90792)
View in context: https://bugs.webkit.org/attachment.cgi?id=90792&action=review

> Source/JavaScriptCore/ChangeLog:9
> +        Don't use "using namespace std;" in files where isnan or isinf are
> +        used, since it can lead to ambiguity in C++0x compilers. See the

This is not a very maintainable rule, and following it makes the code base less consistent. I hope that there is a better solution.

Is this a gcc bug, or expected behavior?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list