This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Go C++ only


On 09/01/2016 08:00 PM, Eli Zaretskii wrote:
>> From: Andrew Pinski <pinskia@gmail.com>
>> Date: Thu, 1 Sep 2016 11:36:34 -0700
>> Cc: Simon Marchi <simon.marchi@polymtl.ca>, GDB Development <gdb@sourceware.org>
>>
>> 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++.

Thanks,
Pedro Alves


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]