diff options
author | Per Bothner <bothner@gcc.gnu.org> | 2001-08-30 23:44:22 -0700 |
---|---|---|
committer | Per Bothner <bothner@gcc.gnu.org> | 2001-08-30 23:44:22 -0700 |
commit | b3ebe23057d9722fe959ce13c8f28001b82a6ea2 (patch) | |
tree | b42bbfc6b40a7a990184019d20ff67de3ba30540 /gcc/java | |
parent | 8fa0a32ec7836634eaf44be21e7ced37e6c55302 (diff) | |
download | gcc-b3ebe23057d9722fe959ce13c8f28001b82a6ea2.zip gcc-b3ebe23057d9722fe959ce13c8f28001b82a6ea2.tar.gz gcc-b3ebe23057d9722fe959ce13c8f28001b82a6ea2.tar.bz2 |
Temporaily change error to wanring to hopefully allow boostrap.
From-SVN: r45311
Diffstat (limited to 'gcc/java')
-rw-r--r-- | gcc/java/class.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/java/class.c b/gcc/java/class.c index eb4be8e..9aa5366 100644 --- a/gcc/java/class.c +++ b/gcc/java/class.c @@ -781,7 +781,7 @@ set_constant_value (field, constant) && ! (TREE_TYPE (constant) == int_type_node && INTEGRAL_TYPE_P (TREE_TYPE (field)) && TYPE_PRECISION (TREE_TYPE (field)) <= 32)) - error ("ConstantValue attribute of field '%s' has wrong type", + warning ("ConstantValue attribute of field '%s' has wrong type", IDENTIFIER_POINTER (DECL_NAME (field))); if (FIELD_FINAL (field)) DECL_FIELD_FINAL_IUD (field) = 1; |