This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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: Partly rewriting gengtype in C++ ?


On Fri, Mar 2, 2012 at 13:45, Laurynas Biveinis
<laurynas.biveinis@gmail.com> wrote:
> 2012/3/2 Diego Novillo <dnovillo@google.com>:
>> It already is. ÂWe bootstrap in C++ mode. ÂI don't see a problem starting to
>> move some code to C++. ÂWhether this is a good chunk of code to convert is
>> another question.
>
> Sorry, I should have been more precise and said "not the best first
> module choice to convert to C++ and lose the ability to go back to
> building in C."

I do not think we should look back.  Trying to retain the ability to
go back to C should not influence our design.

> I agree that such conversion will have to be done at some point, but
> I'm not sure if a big rewrite should happen way before the rest of the
> code will start to use gengtype-annotated C++ data structures.

Wait, I don't follow.  gengtype supporting C++ data structures is
different than writing gengtype in C++.


Diego.


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