Csound Csound-dev Csound-tekno Search About

[Csnd-dev] Bison version

Date2023-08-08 20:16
FromJohn ff
Subject[Csnd-dev] Bison version
Today I had the need to build csound7 (develop branch) pon a macintosh.
It failed on account of two lines in bison

lines 25 and 26 of Engine/csound_orc.y read
//%pure-parser
%define api.pure full

The failed on Mac with bison 2.8 I think it was
commenting line26 and releasing line25 overcame the first error.

Second error was the same with lines119 and 120
 //%error-verbose
%define parse.error verbose

All OK on GNU/Linux with Bison 3.0.4
should this not be under configuration control?


==John ffitch

Date2023-08-08 21:58
FromHlöðver Sigurðsson
SubjectRe: [Csnd-dev] Bison version
I'd have CMake throw error on bison < 3 on any platform

On Tue, 8 Aug 2023 at 21:17, John ff <jpff@codemist.co.uk> wrote:
Today I had the need to build csound7 (develop branch) pon a macintosh.
It failed on account of two lines in bison

lines 25 and 26 of Engine/csound_orc.y read
//%pure-parser
%define api.pure full

The failed on Mac with bison 2.8 I think it was
commenting line26 and releasing line25 overcame the first error.

Second error was the same with lines119 and 120
 //%error-verbose
%define parse.error verbose

All OK on GNU/Linux with Bison 3.0.4
should this not be under configuration control?


==John ffitch