This is the mail archive of the gdb-patches@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: [PATCH] Add comments to gdbarch_address_class_name_to_type_flags


Pedro> We even had talks about using gnulib's bool before.

I think about it from time to time.
It's hard to know where to start, though; and I have way too many
unfinished projects already :)

Also the gnulib one is a bit funny:

   Portability problems not fixed by Gnulib:
[...]
   * Bit-fields of type `bool' are not supported.  Portable code should
     use `unsigned int foo : 1;' rather than `bool foo : 1;'.

I suppose we could add some kind of macro for bool bitfields or
something along those lines.

There are other issues mentioned too, though I consider them more minor.

Pedro> Kind of moot/unnecessary if we do get to move to C++ though.

The spelling at least would be the same, so it would not be wasted
effort.

On the whole, if someone wants to take it up, I'd be pleased.

Tom


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