tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: stdbool.h #define bool _Bool



On Wed, Jul 31, 2019 at 08:55:38AM +0000, coypu%sdf.org@localhost wrote:
> In this case, Mono doesn't include stdbool.h, it's side-loaded for us.
> I can avoid the issue with a hack #undef bool, but I'd like to see a
> future where Mono works unmodified on unmodified NetBSD, without the use
> of hacks.

They need to fix their macro use then.

> I'm thinking of the following solution: avoid directly including
> stdbool.h in any regular userland headers, and having headers use
> _Bool as a type.

That's strictly worse in any way.

Joerg


Home | Main Index | Thread Index | Old Index