This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gengtype and inheritance
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: Richard Biener <richard dot guenther at gmail dot com>
- Cc: Diego Novillo <dnovillo at google dot com>, gcc <gcc at gcc dot gnu dot org>
- Date: Thu, 28 Mar 2013 08:27:15 -0500
- Subject: Re: gengtype and inheritance
- References: <CAAiZkiB3=+taq3F0RxgUiHJdu7Prwe5MFHsL_N8Lr5ZUySj96g at mail dot gmail dot com> <51543C66 dot 5080609 at google dot com> <CAFiYyc2vOHLyqSTTBBFiz3rQWU1qSKGqOfSObfPxWPBd_wd9Cw at mail dot gmail dot com>
On Thu, Mar 28, 2013 at 7:53 AM, Richard Biener
<richard.guenther@gmail.com> wrote:
> On Thu, Mar 28, 2013 at 1:49 PM, Diego Novillo <dnovillo@google.com> wrote:
>> On 2013-03-28 07:57 , Gabriel Dos Reis wrote:
>>>
>>> Does gengetype works with inheritance now? I could not
>>> find anything to that effect in the documentation.
>>>
>> No. The plan is to get rid of gengtype by implementing manual markers
>> (http://gcc.gnu.org/wiki/cxx-conversion/gc-alternatives). But those plans
>> are just plans for now.
>
> Eh - in fact you _promised_ to do that in trade for accepting the C++
> conversion!
> Never trust promises from google ... *sigh*
>
> Now we are in the exact situation I was feared about - people will start
> hacking around the C++ gengtype limitations in various ways instead of
> doing it properly (because "those plans are just plans").
>
> :/
I am all for getting rid or genotype if that is the long term plan.
Some of the work I was planning on the C++ front-end would
have benefited from inheritance. Richard, I don't I am hacking
around C++ gengtype limitations.
-- Gaby