On Tue, May 12, 2020 at 11:39:17AM -0700, Conrad Meyer wrote:
> Why not just use _Bool and leave the compatibility definition only for
> C++ (#define _Bool bool)?
There was such version in interim, see
https://reviews.freebsd.org/D24297?vs=on&id=70906#toc
Exp-run reported issues with this variant
Why not just use _Bool and leave the compatibility definition only for
C++ (#define _Bool bool)?
On Tue, May 12, 2020 at 11:12 AM Konstantin Belousov wrote:
>
> Author: kib
> Date: Tue May 12 18:12:20 2020
> New Revision: 360983
> URL: https://svnweb.freebsd.org/changeset/base/360983
>
> Log:
>
Author: kib
Date: Tue May 12 18:12:20 2020
New Revision: 360983
URL: https://svnweb.freebsd.org/changeset/base/360983
Log:
Clear namespace pollution in include/malloc_np.h
Do not include stdbool.h, it makes the header incompatible with some
third-party code that typedefs bool manually.