Bug#169689: gcc-3.0: FTBFS: bison and glibc2.3 problems
Whoops, forgot to Cc this to the bug report...
Matthias Klose <doko@cs.tu-berlin.de> writes:
> Daniel Schepler writes:
> > Package: gcc-3.0
> > Version: 3.0.4ds3-13
> > Severity: serious
> >
> > When I try to build gcc-3.0 on unstable, first there are bison errors
> > in java-parse.y.
>
> please could you send me your fixes?
Umm, here they are...
--- src/gcc/java/parse.y.orig 2003-01-06 20:27:48.000000000 +0000
+++ src/gcc/java/parse.y 2003-01-06 20:30:37.000000000 +0000
@@ -518,8 +518,8 @@
type_declarations interface_body
interface_member_declaration constant_declaration
interface_member_declarations interface_type
- abstract_method_declaration interface_type_list
-%type <node> class_body_declaration class_member_declaration
+ abstract_method_declaration
+%type <node> class_body_declaration
static_initializer constructor_declaration block
%type <node> class_body_declarations constructor_header
%type <node> class_or_interface_type class_type class_type_list
@@ -547,7 +547,7 @@
post_increment_expression post_decrement_expression
unary_expression_not_plus_minus unary_expression
pre_increment_expression pre_decrement_expression
- unary_expression_not_plus_minus cast_expression
+ cast_expression
multiplicative_expression additive_expression
shift_expression relational_expression
equality_expression and_expression
@@ -1886,6 +1886,7 @@
exit_block ();
$$ = $1;
}
+;
catch_clause_parameter:
CATCH_TK OP_TK formal_parameter CP_TK
--
Daniel Schepler "Please don't disillusion me. I
schepler@math.berkeley.edu haven't had breakfast yet."
-- Orson Scott Card
Reply to: