Date: Tue, 7 Jan 2020 10:51:06 -0500
So the reason I want to make bool and _Bool compatible is because currently
it is technically impossible to have a C api exposed to C++ that returns
bool, without using some other type. This applies to structures that need
to contain a boolean value. This affects all common apis.
On Mon, Jan 6, 2020 at 11:30 Askar Safin <safinaskar_at_[hidden]> wrote:
> Hi.
>
> > The C++ bool and C _Bool types are compatible
> This is very complicated. See, for example, this letter:
> https://gcc.gnu.org/ml/gcc/2002-04/msg01472.html
>
> Askar
it is technically impossible to have a C api exposed to C++ that returns
bool, without using some other type. This applies to structures that need
to contain a boolean value. This affects all common apis.
On Mon, Jan 6, 2020 at 11:30 Askar Safin <safinaskar_at_[hidden]> wrote:
> Hi.
>
> > The C++ bool and C _Bool types are compatible
> This is very complicated. See, for example, this letter:
> https://gcc.gnu.org/ml/gcc/2002-04/msg01472.html
>
> Askar
Received on 2020-01-07 09:53:48