When ast-ksh.2014-06-25 is compiled with SHOPT_COMPLETE == 0, one gets:

/home/felix/ast-open.2014-06-25/src/cmd/ksh93/include/edit.h:247: warning: 
"struct Complete" declared inside parameter list
/home/felix/ast-open.2014-06-25/src/cmd/ksh93/include/edit.h:247: warning: 
its scope is only this definition or declaration, which is probably not 
what you want
/home/felix/ast-open.2014-06-25/src/cmd/ksh93/edit/completion.c: In 
function `prog_complete':
/home/felix/ast-open.2014-06-25/src/cmd/ksh93/edit/completion.c:227: 
error: dereferencing pointer to incomplete type
/home/felix/ast-open.2014-06-25/src/cmd/ksh93/edit/completion.c: In 
function `ed_expand':
/home/felix/ast-open.2014-06-25/src/cmd/ksh93/edit/completion.c:312: 
error: structure has no member named `compdict'
/home/felix/ast-open.2014-06-25/src/cmd/ksh93/edit/completion.c:312: 
error: structure has no member named `compdict'
make [cmd/ksh93]: *** exit code 1 making completion.o

The attached patch set should fix this.

Philippe

Attachment: patchset.tgz
Description: Binary data

_______________________________________________
ast-users mailing list
[email protected]
http://lists.research.att.com/mailman/listinfo/ast-users

Reply via email to