CURRENT: CLANG 3.3 and -stad=c++11 and -stdlib=libc++: isnan()/isninf() oddity

David Chisnall theraven at FreeBSD.org
Mon Jul 29 08:19:52 UTC 2013


On 28 Jul 2013, at 22:27, Raphael Kubo da Costa <rakuco at freebsd.org> wrote:

> This seems to have been committed in r253321, and broke some code that
> was working with r253320; namely, some code in x11/kde4-workspace
> includes math.h and calls isnan() with a const double.

Please provide a test case.  Specifically, I need to know what language dialect this is using, because I have tested including math.h and calling isnan(double) with c89, gnu89, c99, c11, c++03 and c++11 on gcc (for the modes that it supports) and clang.

David



More information about the freebsd-standards mailing list