[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bison 3.0.4 causes conflicting types for ...
From: |
Hans Åberg |
Subject: |
Re: bison 3.0.4 causes conflicting types for ... |
Date: |
Fri, 9 Mar 2018 18:13:08 +0100 |
> On 9 Mar 2018, at 00:16, blubee blubeeme <address@hidden> wrote:
>
> I am trying to build the riscv-gnu-toolchain from github. I have bison
> 3.0.4 installed
>
> After running configure then doing make I get this error below.
...
> You can see the command that's run right before the error:
>
> bison -y --name-prefix=__gettext --output plural.c
You have some incompatibilities here, as -y is to behave like Yacc, and then
the line above forces other naming conventions onto it. In addition, if you are
using Automake AC_PROG_YACC, it overrides such options.
If your distribution has compiled (.c) lexer and parser files, you might try
without recreate them.