X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=doc%2Fposix-headers%2Fstdbool.texi;h=da8a9db95a654ae8525f15f8085c7efbe73b1e47;hb=90735e334e89048c011e5f01eca366f1118bb640;hp=990c17be7beae508dd7c44d6d476373df19d9a94;hpb=fef5e6b4fc847bb1c01a20314effae7cb7828f38;p=gnulib.git diff --git a/doc/posix-headers/stdbool.texi b/doc/posix-headers/stdbool.texi index 990c17be7..da8a9db95 100644 --- a/doc/posix-headers/stdbool.texi +++ b/doc/posix-headers/stdbool.texi @@ -12,6 +12,9 @@ This header file is missing on some platforms: AIX 5.1, HP-UX 11, IRIX 6.5, OSF/1 5.1. @item Some compilers have bugs relating to @samp{bool}. +@item +This header file defines @code{true} incorrectly on some platforms: +OpenBSD 4.7 with gcc 2.95. @end itemize Portability problems not fixed by Gnulib: @@ -28,6 +31,6 @@ Casts and automatic conversions to @samp{bool} don't test against the 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