This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: C++ PATCH: Fix PR 13275
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: Richard Henderson <rth at redhat dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: 17 Dec 2003 01:05:52 +0100
- Subject: Re: C++ PATCH: Fix PR 13275
- Organization: Integrable Solutions
- References: <200312161604.hBGG4CfX002206@sirius.codesourcery.com><g33cbkoebn.fsf@bart.esmuk.esmertec.com><m3vfoge6ij.fsf@uniton.integrable-solutions.net><20031216232346.GE31351@redhat.com>
Richard Henderson <rth@redhat.com> writes:
| On Tue, Dec 16, 2003 at 11:34:44PM +0100, Gabriel Dos Reis wrote:
| > Yup. I'm surprised it is implemented that way. I would think the
| > obvious __offsetof__(type, member) would be the way to go...
|
| Except this means doing very ugly things with the grammar.
More preceisely?
It implements something that is not offsetof, it is a real extension
-- let's call a cat a cat. I'm not sure it is advisable to set the
precedent where this extension, which does not implement offsetof,
is threated this way.
-- Gaby