From: Per Bothner Date: Fri, 31 Aug 2001 06:44:22 +0000 (-0700) Subject: Temporaily change error to wanring to hopefully allow boostrap. X-Git-Tag: prereleases/libstdc++-3.0.95~2329 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3ebe23057d9722fe959ce13c8f28001b82a6ea2;p=thirdparty%2Fgcc.git Temporaily change error to wanring to hopefully allow boostrap. From-SVN: r45311 --- diff --git a/gcc/java/class.c b/gcc/java/class.c index eb4be8e96d32..9aa536640289 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;