Move GDB to C++ ?
Stan Shebs
stanshebs@earthlink.net
Thu Jul 10 20:01:00 GMT 2008
Mark Kettenis wrote:
>> Date: Thu, 10 Jul 2008 11:46:15 -0700
>> From: Stan Shebs <stanshebs@earthlink.net>
>>
>> As many know, there is a project afoot to investigate the recoding of
>> GCC from C into C++. I believe the C++ idea was briefly touched on for
>> GDB at the summit, although I don't remember much discussion. Anyway,
>> this would be a good time to start thinking about it, and if people are
>> generally in favor of the idea, we can start small by tweaking the
>> sources to be C++-friendly, avoiding keywords and so forth; GCC has a
>> new warning flag -Wcxx-compat that can help.
>>
>
> I think this is an absolutely retarded idea. C++ is a horrible
> programming language.
>
Okay... so, uh, since C++ is basically a superset of C, presumably the
horribleness you are thinking of relates to specific extensions. The
basic idea of classes? Templates? Overloading? Exception handling? We
would get to codify the set of C++ features that we will allow,
certainly I'd never want to allow in patches that used arcane features
of the language in twisted ways.
Stan
More information about the Gdb
mailing list