This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
May I propose an extension and ask how difficult this would be?
- To: gcc at gcc dot gnu dot org
- Subject: 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 20:02:11 +0000
- Organization: Moberg Research, Inc.
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.
--
George T. Talbot
<george@moberg.com>