This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc-in-cxx branch created
- From: "Gabriel Dos Reis" <gdr at integrable-solutions dot net>
- To: "Bruno Haible" <bruno at clisp dot org>
- Cc: "Ian Lance Taylor" <iant at google dot com>, gcc at gcc dot gnu dot org
- Date: Tue, 24 Jun 2008 04:23:10 -0500
- Subject: Re: gcc-in-cxx branch created
- References: <200806230124.32597.bruno@clisp.org>
On Sun, Jun 22, 2008 at 6:24 PM, Bruno Haible <bruno@clisp.org> wrote:
> Dear Ian,
>
> A comment regarding the GCC-in-C++ idea. In slide 16 you merely answer
>
> "C++ is too complicated!"
>
> with
>
> "Maintainers will ensure that gcc continues to be maintainable."
>
> C++ has, for example, 12 different ways to represent or invoke a function.
> It has no buikt-in typesafe "enum"s. Sooner or later developers will think
C++ enums are certainly improvements over C enums. Below you
mentioned dynamic_cast working with enum sets, I don't what
you mean by that -- since any attempt to dynamic_cast an
enum is rejected at compile time.
-- Gaby