This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/14795] gengtype-yacc.y:275.2-278.9: type clash (`o' `s') on default action


------- Additional Comments From zack at codesourcery dot com  2004-03-31 10:36 -------
Subject: [patch] Re:  New: gengtype-yacc.y:275.2-278.9:
 type clash (`o' `s') on default action

"wanderer at rsu dot ru" <gcc-bugzilla@gcc.gnu.org> writes:
> I can't bootsrap current CVS mainline GCC with
> bison (GNU Bison) 1.75 and flex version 2.5.4

I do not have Bison 1.75 to hand, but this looks like a known problem
with some versions of Bison being pickier about rule syntax than
others.  (The flex errors are because bison failed and therefore
gengtype-yacc.h is missing.)  My fault - I have one of the less picky
versions on the machine I tested my last patch on.  The attached patch
should fix the problem; please test.

Part of the problem here is that we are, for no apparent reason,
ignoring errors from bison and flex.  This was introduced in revision
1.2222 of Makefile.in, which was one of Kelley Cook's patches to stop
writing files into the source directory.  Kelley, why did you do that?
Barring an explanation I propose to remove the ignore-errors markers
(included in the patch below).

zw

        * gengtype-yacc.y (option, stringseq): Add missing 
        terminating semicolon.
        * Makefile.in, java/Make-lang.in, objc/Make-lang.in
        * treelang/Make-lang.in: Don't ignore errors from flex
        or bison.


------- Additional Comments From zack at codesourcery dot com  2004-03-31 10:36 -------
Created an attachment (id=6019)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=6019&action=view)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14795


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]