[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] test-stdbool: skip test that fails with Solaris CC
From: |
Bruno Haible |
Subject: |
Re: [PATCH] test-stdbool: skip test that fails with Solaris CC |
Date: |
Sun, 18 Apr 2010 22:01:25 +0200 |
User-agent: |
KMail/1.9.9 |
Eric Blake wrote:
> + test-stdbool: skip test that fails with Solaris CC
Seems reasonable to me too. I've never seen any program casting floating-point
values to 'bool'. So that's not a feature people rely on.
Just a doc tweak:
2010-04-18 Bruno Haible <address@hidden>
* doc/posix-headers/stdbool.texi: More precise wording.
--- doc/posix-headers/stdbool.texi.orig Sun Apr 18 21:57:15 2010
+++ doc/posix-headers/stdbool.texi Sun Apr 18 21:56:44 2010
@@ -28,6 +28,6 @@
zero value or the null pointer, as they should. Such casts should only
be used if the casted value is known to be equal to 0 or 1.
@item
-You cannot assume that casting floating point to @samp{bool} will
+You cannot assume that casting a floating point literal to @samp{bool} will
result in a constant expression.
@end itemize