Re: Go C++ only

Pedro Alves <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
On 09/01/2016 08:00 PM, Eli Zaretskii wrote:
>> From: Andrew Pinski <[email protected]>
>> Date: Thu, 1 Sep 2016 11:36:34 -0700
>> Cc: Simon Marchi <[email protected]>, GDB Development <[email protected]>
>>
>> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.