On 5/24/19 10:51 AM, Henning wrote: > On 22/05/2019 15:30, Chet Ramey wrote: >> >> What error message did you get when trying to compile bash-5.0? I don't >> have or use cygwin, so you'll probably have to go to the cygwin bash >> maintainer, but we can at least try to point him in the right direction. >> > > I tried to compile several times, but always failed with > builtins/set.def: > > ------------------------- > ./mkbuiltins.exe -D . set.def > gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. > -DRECYCLES_PIDS -g -O2 -Wno-parentheses -Wno-format-security set.c || ( > rm -f set.c ; exit 1 ) > ./set.def:219:21: error: 'igncr' undeclared here (not in a function); did > you mean 'signal'? > { "igncr", '\0', &igncr, NULL, (setopt_get_func_t *)NULL }, > ^~~~~ > signal
That's not in the distributed version of bash-5.0. If you're applying an older cygwin patch, have you tried just building the distributed version? Let's make sure that works. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU c...@case.edu http://tiswww.cwru.edu/~chet/