8 Commits
Author SHA1 Message Date
Paul Eggert 6fafd688d6 stdbool: don't require _Bool for C++
Problem reported by David Seifert in:
http://lists.gnu.org/archive/html/bug-gnulib/2016-06/msg00005.html
* NEWS, doc/posix-headers/stdbool.texi (stdbool.h): Document this.
* m4/stdbool.m4 (AC_CHECK_HEADER_STDBOOL): Make the check
more-forgiving for C++, in that it requires only 'bool'.  Be a bit
stricter about checking that bool and _Bool are compatible in C.
2016-08-17 15:35:35 -07:00
Paul Eggert a4d796fb14 maint: spelling fixes 2012-02-05 13:42:03 -08:00
Bruno Haible b14c9a8fe1 Update doc for POSIX:2008.
* doc/posix-headers/*.texi [except ucontext.texi, sys_timeb.texi]:
Update URL of POSIX specification.
2010-10-02 18:35:08 +02:00
Karl Berry 80fc442c21 avoid some overlong lines from posix urls, etc. 2010-08-13 11:50:58 -07:00
Bruno Haible 7773f84fe1 stdbool: Update doc. 2010-07-02 02:48:01 +02:00
Bruno Haible 595908ce27 Doc tweak. 2010-04-18 22:01:05 +02:00
Eric Blake fef5e6b4fc test-stdbool: skip test that fails with Solaris CC
Solaris 9 CC has a bug; it allows (int)0.0 and (bool)0 in constant
expressions, but not (bool)0.0.  Our replacement stdbool cannot
provide that guarantee of C99 for this particular compiler, but
since use of that feature causes compilation failure rather than
silent mis-compilation, we just skip the test.

* tests/test-stdbool.c (f): Skip test that causes compilation
error under buggy C++ compiler.
* lib/stdbool.in.h: Document the limitation.
* doc/posix-headers/stdbool.texi (stdbool.h): Likewise.

Signed-off-by: Eric Blake <eblake@redhat.com>
2010-04-16 17:11:27 -06:00
Bruno Haible 2b6c08c775 Rename two directories: headers -> posix-headers, functions -> posix-functions. 2008-01-20 00:09:59 +01:00