Hi Bruno, On 7/20/19 12:57 AM, Bruno Haible wrote: > Hi Berny, > >>> 2019-07-19 Bruno Haible <br...@clisp.org> >>> >>> parse-datetime: Require Bison 2.7 or newer. > > Actually it requires Bison 2.4 or newer.
good spot. >>> + case $ac_prog_version in >>> + '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;; >>> + 2.[7-9]* | [3-9].*) >> >> This would run into a little problem in quite far future ...... when GNU >> Bison >> reaches version 10.x. Maybe adjust to: >> >> + 2.[7-9]* | [3-9].* | [1-9][0-9].*) Even better - thinking positive. ;-) > Good point. We don't know how the future version numbers will look like. The > only knowledge we have is on the version numbers of past releases. > > Addressed in the first patch. > >> During generation of parse-datetime.c, I'm getting these 2 new warnings: >> >> /home/berny/coreutils/./lib/parse-datetime.y:568.1-7: warning: POSIX Yacc >> does not support %define [-Wyacc] >> 568 | %define api.pure >> | ^~~~~~~ >> /home/berny/coreutils/./lib/parse-datetime.y:573.1-7: warning: POSIX Yacc >> does not support %expect [-Wyacc] >> 573 | %expect 31 >> | ^~~~~~~ >> > > Addressed in the second patch. Thanks, both patches work for me. Have a nice day, Berny