Re: Build failure with gcc 4.7.2

Akim Demaille <[email protected]>
Newsgroups gmane.comp.parsers.bison.bugs
Message-ID <[email protected]>
Hi Maoyin,

> Le 2 août 2020 à 23:17, Maoyin Sun <[email protected]> a écrit :
> 
> Hi there,
> 
> I am trying to bootstrap Gentoo Prefix on a very old RHDL machine with gcc
> 4.7.2. When compiling bison 3.7, it yields:
> 
> ```
> src/parse-simulation.c:64: error: redefinition of typedef 'parse_state'
> src/parse-simulation.h:74: note: previous declaration of 'parse_state' was
> here
> ```

Thanks for the report.  I just addressed that!  See

https://lists.gnu.org/r/bison-patches/2020-08/msg00014.html

Until there is a 3.7.2, please use this tarball instead:

https://www.lrde.epita.fr/~akim/private/bison/bison-3.7.1.3-0a5bf.tar.gz
https://www.lrde.epita.fr/~akim/private/bison/bison-3.7.1.3-0a5bf.tar.lz
https://www.lrde.epita.fr/~akim/private/bison/bison-3.7.1.3-0a5bf.tar.xz

Cheers!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.