看板 DFBSD_bugs 關於我們 聯絡資訊
On Sun, 13 Feb 2011 13:17:31 +0100 Max Herrgard <herrgard@gmail.com> wrote: > 13 feb 2011 kl. 10.11 skrev Steve O'Hara-Smith: > > Hi, > > > > I just did a git pull and buildworld - which failed early (a > > few seconds) with: > > > > cc -O -pipe -march=pentiumpro -DSHELL -I. -I/usr/src/bin/sh > > -DNO_HISTORY -std=gnu99 -Wsystem-headers -Wall -W > > -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes > > -Wpointer-arith -Wold-style-definition -Wreturn-type -Wcast-qual > > -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter > > -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls > > -c /usr/src/bin/sh/eval.c /usr/src/bin/sh/eval.c: In function > > 'safe_builtin': /usr/src/bin/sh/eval.c:656: error: 'KILLCMD' undeclared > > (first use in this function) /usr/src/bin/sh/eval.c:656: error: (Each > > undeclared identifier is reported only once /usr/src/bin/sh/eval.c:656: > > error: for each function it appears in.) /usr/src/bin/sh/eval.c: In > > function 'evalcommand': /usr/src/bin/sh/eval.c:928: warning: implicit > > declaration of function 'reffunc' /usr/src/bin/sh/eval.c:928: warning: > > nested extern declaration of 'reffunc' /usr/src/bin/sh/eval.c:935: > > warning: implicit declaration of function > > 'unreffunc' /usr/src/bin/sh/eval.c:935: warning: nested extern > > declaration of 'unreffunc' /usr/src/bin/sh/eval.c:950: warning: > > implicit declaration of function > > 'getfuncnode' /usr/src/bin/sh/eval.c:950: warning: nested extern > > declaration of 'getfuncnode' /usr/src/bin/sh/eval.c:950: warning: > > passing argument 1 of 'evaltree' makes pointer from integer without a > > cast /usr/src/bin/sh/eval.c:193: note: expected 'union node *' but > > argument is of type 'int' /usr/src/bin/sh/eval.c:952: warning: passing > > argument 1 of 'evaltree' makes pointer from integer without a > > cast /usr/src/bin/sh/eval.c:193: note: expected 'union node *' but > > argument is of type 'int' > > Hm, it works for me. What commit are you on? It took me a few minutes to find out how to get it - # git branch -v --no-abbrev * master f59607061ed7edac298803ac1516e2a6dd165cc8 -- Steve O'Hara-Smith | Directable Mirror Arrays C:>WIN | A better way to focus the sun The computer obeys and wins. | licences available see You lose and Bill collects. | http://www.sohara.org/