[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bison-3.3] sideeffect to flex ?
From: |
Akim Demaille |
Subject: |
Re: [bison-3.3] sideeffect to flex ? |
Date: |
Sun, 27 Jan 2019 06:27:20 +0100 |
> Le 27 janv. 2019 à 04:58, Kiyoshi KANAZAWA <address@hidden> a écrit :
>
> Hello,
>
> Trying to check other OSS's after installing bison-3.3,
> and found flex-2.6.4's make ckech failes.
> This is not occur with bison-3.2.4.
> I can not distinguish which has the problem.
Hi!
The NEWS reads:
*** More POSIX Yacc compatibility warnings
More Bison specific directives are now reported with -y or -Wyacc. This
change was ready since the release of Bison 3.0 in September 2015. It was
delayed because Autoconf used to define YACC as `bison -y`, which resulted
in numerous warnings for Bison users that use the GNU Build System.
If you still experience that problem, either redefine YACC as `bison -o
y.tab.c`, or pass -Wno-yacc to Bison.
The problem here is that in addition someone has added -Werror. Flex should
not use -y and use Bison extension at the same time.