This is the mail archive of the
mailing list for the GCC project.
[RFA] C++ language compatibility in sources [was RE: Add missing casts in gengtype-lex]
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: "'Thomas Neumann'" <tneumann at users dot sourceforge dot net>, <gcc at gcc dot gnu dot org>
- Date: Thu, 12 Apr 2007 16:19:34 +0100
- Subject: [RFA] C++ language compatibility in sources [was RE: Add missing casts in gengtype-lex]
- References: <email@example.com>
On 12 April 2007 15:59, Thomas Neumann wrote:
> the attached patch adds missing casts in gengtype-lex.l (i.e. missing in
> C++, recommended by GCC Coding Conventions in C). Please apply it if you
> find it useful.
> * gengtype-lex.l: Cast from void* to the proper type.
It's good of you to pay attention to this, as we do have a long-range goal
of making gcc compilable in C++, but even though they're close to obviously
correct, it's possible that nobody would feel confident to apply them
Maybe it would make more sense to bundle them up into two tranches, one for
all the gen* utilities, one for the compiler core itself. That would be much
more practical to do the full bootstrap-and-regtest procedure. However,
bundling them all up into big patches would probably run over the size limit
for "small patches that don't require paperwork". Do you have an assignment
on file with the FSF?
Meanwhile, since nobody's commented on the -patches list, I'm posting this
across to the main list to request advice.
Can't think of a witty .sigline today....