/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o arg_int.lo arg_int.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c arg_int.c -fPIC -DPIC -o .libs/arg_int.o
arg_int.c: In function ‘strtol0X’:
arg_int.c:60:12: error: implicit declaration of function ‘isspace’ [-Werror=implicit-function-declaration]
60 | while (isspace(*ptr))
| ^~~~~~~
arg_int.c:33:1: note: include ‘<ctype.h>’ or provide a declaration of ‘isspace’
32 | #include <limits.h>
+++ |+#include <ctype.h>
33 |
arg_int.c:89:8: error: implicit declaration of function ‘toupper’ [-Werror=implicit-function-declaration]
89 | if (toupper(*ptr++)!=toupper(X))
| ^~~~~~~
arg_int.c:89:8: note: include ‘<ctype.h>’ or provide a declaration of ‘toupper’
cc1: some warnings being treated as errors
make[3]: *** [Makefile:363: arg_int.lo] Error 1
tag -1 + patchBug #1066377 [src:argtable2] argtable2: FTBFS: arg_int.c:60:12: error: implicit declaration of function ‘isspace’ [-Werror=implicit-function-declaration]
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 297 |
Nodes: | 16 (2 / 14) |
Uptime: | 07:08:33 |
Calls: | 6,666 |
Files: | 12,213 |
Messages: | 5,336,105 |