Closed JoeLoser closed 5 years ago
I would go with Bison v3.1 as the minimum required version (currently).
Would you want to submit the PR for that?
Sure, I'll submit a PR shortly. Thanks.
Corresponding PR: https://github.com/facebook/fbthrift/pull/317
The system version of
Bison
for me (2.3) is insufficient to build all of the targets. CMake should specify a minimum version requirement in thefind_package
call with Bison.Examples:
When I try building all of the targets with Bison 2.3:
I no longer get this error when I use Bison 3.3.2. So, the min version must be somewhere between these two.
Definition of done: the correct minimum version is determined and specified in the top level
CMakeLists.txt
at https://github.com/facebook/fbthrift/blob/master/CMakeLists.txt#L78