From: Tom Tromey <tromey@redhat.com>
To: Pedro Alves <palves@redhat.com>
Cc: Sergio Durigan Junior <sergiodj@redhat.com>,
Simon Marchi <simon.marchi@ericsson.com>,
GDB Patches <gdb-patches@sourceware.org>
Subject: Re: [PATCH] Add comments to gdbarch_address_class_name_to_type_flags
Date: Thu, 16 Jan 2014 20:12:00 -0000 [thread overview]
Message-ID: <87mwivlm8q.fsf@fleche.redhat.com> (raw)
In-Reply-To: <52D839C5.2070606@redhat.com> (Pedro Alves's message of "Thu, 16 Jan 2014 19:57:57 +0000")
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
next prev parent reply other threads:[~2014-01-16 20:12 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-16 18:47 Simon Marchi
2014-01-16 19:11 ` Pedro Alves
2014-01-16 19:21 ` Sergio Durigan Junior
2014-01-16 19:26 ` Pedro Alves
2014-01-16 19:32 ` Simon Marchi
2014-01-16 19:45 ` Sergio Durigan Junior
2014-01-16 19:58 ` Pedro Alves
2014-01-16 20:12 ` Tom Tromey [this message]
2014-01-16 19:31 ` Simon Marchi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87mwivlm8q.fsf@fleche.redhat.com \
--to=tromey@redhat.com \
--cc=gdb-patches@sourceware.org \
--cc=palves@redhat.com \
--cc=sergiodj@redhat.com \
--cc=simon.marchi@ericsson.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox