x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DHAVE_CONFIG_H -Wdate-time -D_FORTIFY_SOURCE=2 -c -o dir.o dir.c
dir.c: In function ‘ensurecwd’:
dir.c:127:11: error: implicit declaration of function ‘rchdir’; did you mean ‘vchdir’? [-Werror=implicit-function-declaration]
127 | rchdir(curbp->b_cwd); /* ensure we are in the current dir */
| ^~~~~~
| vchdir
dir.c: At top level:
dir.c:136:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
136 | changedir(f, n)
| ^~~~~~~~~
dir.c: In function ‘changedir’:
dir.c:136:1: warning: type of ‘f’ defaults to ‘int’ [-Wimplicit-int] dir.c:136:1: warning: type of ‘n’ defaults to ‘int’ [-Wimplicit-int] dir.c: At top level:
dir.c:213:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
213 | showcwdir(f, n)
| ^~~~~~~~~
dir.c: In function ‘showcwdir’:
dir.c:213:1: warning: type of ‘f’ defaults to ‘int’ [-Wimplicit-int] dir.c:213:1: warning: type of ‘n’ defaults to ‘int’ [-Wimplicit-int] cc1: some warnings being treated as errors
make[2]: *** [<builtin>: dir.o] Error 1
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 297 |
Nodes: | 16 (2 / 14) |
Uptime: | 10:59:32 |
Calls: | 6,666 |
Files: | 12,213 |
Messages: | 5,336,375 |