]> Savannah Git Hosting - gnulib.git/commit
stdbool: don't require _Bool for C++
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 17 Aug 2016 22:33:06 +0000 (15:33 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 17 Aug 2016 22:35:35 +0000 (15:35 -0700)
commit6fafd688d6abef7afbbe315dea0d5d2ae487a107
treeb36676a15d98bb2d9e326339059cb1a20919686e
parent52b63a0ff3a69d4b708c9ee5cd7bd9de3b6c4b58
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.
ChangeLog
NEWS
doc/posix-headers/stdbool.texi
m4/stdbool.m4