diff options
author | Bryce McKinlay <bryce@gcc.gnu.org> | 2001-05-18 07:29:11 +0100 |
---|---|---|
committer | Bryce McKinlay <bryce@gcc.gnu.org> | 2001-05-18 07:29:11 +0100 |
commit | ca1906ff9add634551e681cdd94259401542e814 (patch) | |
tree | 0ced9189dbcd2b7509625083e75951dca7a938c4 /libjava/gcj/javaprims.h | |
parent | 6fd72f814a8d33fdf72485f2fefcb793ce4e60c5 (diff) | |
download | gcc-ca1906ff9add634551e681cdd94259401542e814.zip gcc-ca1906ff9add634551e681cdd94259401542e814.tar.gz gcc-ca1906ff9add634551e681cdd94259401542e814.tar.bz2 |
[multiple changes]
2001-05-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
* include/jvm.h: Move "#pragma GCC java_exceptions" to ...
* gcj/javaprims.h: ... here.
* gnu/gcj/io/shs.cc: Add "#pragma GCC java_exceptions".
2001-05-17 Martin Kahlert <martin.kahlert@infineon.com>
* java/lang/natClass.cc (_Jv_FindIIndex): Fix an off by one error
with length of ioffset table.
(_Jv_IsAssignableFrom): Likewise.
From-SVN: r42248
Diffstat (limited to 'libjava/gcj/javaprims.h')
-rw-r--r-- | libjava/gcj/javaprims.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libjava/gcj/javaprims.h b/libjava/gcj/javaprims.h index f16e97d..e13195c 100644 --- a/libjava/gcj/javaprims.h +++ b/libjava/gcj/javaprims.h @@ -11,6 +11,9 @@ details. */ #ifndef __JAVAPRIMS_H__ #define __JAVAPRIMS_H__ +// Force C++ compiler to use Java-style exceptions. +#pragma GCC java_exceptions + // FIXME: this is a hack until we get a proper gcjh. // It is needed to work around system header files that define TRUE // and FALSE. |