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: GCC: accessing exceptiond from C?


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


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