This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: May I propose an extension and ask how difficult this would be?
- To: Martin Dalecki <dalecki at cs dot net dot pl>
- Subject: Re: May I propose an extension and ask how difficult this would be?
- From: "George T. Talbot" <george at moberg dot com>
- Date: Fri, 19 Nov 1999 23:35:43 +0000
- CC: gcc at gcc dot gnu dot org
- Organization: Moberg Research, Inc.
- References: <3835ACC3.1F265047@moberg.com> <3835CF51.7B798E2A@cs.net.pl>
Martin Dalecki wrote:
>
> "George T. Talbot" wrote:
> >
> > One of the things that make Java coding a bit easier than C++ is that if an
> > exception is thrown in a Java method, then the exception must be caught or
> > declared in the method/function declaration of any function calling a method
> > which throws an exception.
> >
> > How hard would it be to extend the C++ compiler so that I could add
> > "-fbe-pedantic-about-c++-exceptions" and get similar behavior? This might
> > make debugging exception handling code far easier to deal with.
>
> What about:
> -fI-should-be-using-gcj-instead-of-gpp
>
> ?
No kidding, eh? ;^) I wish I was writing this part of my project in Java,
although templates (parameterized types & functions parameterized by type) are
rather useful for some things.
--
George T. Talbot
<george@moberg.com>