This is the mail archive of the
mailing list for the GDB project.
Re: Go C++ only
On 09/01/2016 08:00 PM, Eli Zaretskii wrote:
>> From: Andrew Pinski <email@example.com>
>> Date: Thu, 1 Sep 2016 11:36:34 -0700
>> Cc: Simon Marchi <firstname.lastname@example.org>, GDB Development <email@example.com>
>> Note the only feature I want to use right now is bool instead of char
>> or int were the value is a boolean.
> You have bool in C.
That's C99 only and requires including <stdbool.h>. Defining
it ourselves is likely to cause conflict problems. The best way to
make use of that would probably be to pull in gnulib's stdbool module,
though ISTR that's been tried and it caused trouble too.
It's just easier to wait for C++.