cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c -o encode.o encode.c
main.c: In function ‘main’:
main.c:180:17: error: implicit declaration of function ‘strcmp’ [-Werror=implicit-function-declaration]
180 | if (strcmp (argv[optind], "--help") == 0) {
| ^~~~~~
main.c:40:1: note: include ‘<string.h>’ or provide a declaration of ‘strcmp’
39 | #include "snow.h"
+++ |+#include <string.h>
40 |
cc1: some warnings being treated as errors
make[1]: *** [<builtin>: main.o] Error 1
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 307 |
Nodes: | 16 (2 / 14) |
Uptime: | 60:36:20 |
Calls: | 6,915 |
Calls today: | 5 |
Files: | 12,379 |
Messages: | 5,431,248 |