On 1/30/18 8:44 AM, Chet Ramey wrote: >> > I found the error bellow when I tried to compile the code. >> > >> > execute_cmd.c:4293:14: error: ‘eval_builtin’ undeclared (first use in >> this >> > function) >> >> That's interesting, since none of the patches mention eval_builtin, and >> there's no mention of eval_builtin on the source line in that message. >> >> Sorry, in the last commit the correct line is 4450 :) > > I still don't see it: > > $ sed -n '4450{p;q;}' execute_cmd.c > flags that will exit the shell on an error if -e is set. If the
And if you're wondering: $ grep eval_builtin builtins/builtext.h extern int eval_builtin __P((WORD_LIST *)); $ grep builtext.h execute_cmd.c #include "builtins/builtext.h" /* list of builtins */ So if there's a problem with this kind of thing in gcc-4.8, I'd like to get some more information about what it is. -- ``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/