This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC: accessing exceptiond from C?
- From: kaih at khms dot westfalen dot de (Kai Henningsen)
- To: gcc at gcc dot gnu dot org
- Date: 30 Mar 2002 19:04:00 +0200
- Subject: Re: GCC: accessing exceptiond from C?
- Comment: Unsolicited commercial mail will incur an US$100 handling fee per received mail.
- Organization: Organisation? Me?! Are you kidding?
- References: <8LrUv-qHw-B@khms.westfalen.de> <3CA5F417.4030103@bothner.com>
per@bothner.com (Per Bothner) wrote on 30.03.02 in <3CA5F417.4030103@bothner.com>:
> Kai Henningsen wrote:
> > it's rather hard to reasonably integrate that stuff with C without
> > compiler support - and I'd rather avoid full-blown C++.
>
> You don't need "full-blown C++". It is perfectly ok to use
> G++ as a "C with exceptions" compiler or a "better C"
> compiler. Many people do that.
That *is* "full blown C++" - i.e., once I do that, every difference
between C++ and C automatically applies to my program.
Such as, for example, the fact that I now need to cast void * pointers.
(Which, frankly, I consider one of C++'s worse ideas.)
MfG Kai