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 <[email protected]> * 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
