gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DPRINTERS_FILE=\"/etc/trueprint/printers\" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o language.o language.c
language.c: In function ‘filename_to_language’:Wformat -Werror=format-security -fcf-protection -c -o lang_pike.o lang_pike.c
language.c:134:3: error: implicit declaration of function ‘dm’ [-Werror=implicit-function-declaration]
134 | dm('l',2,"Finding language for filename %s\n",filename);
| ^~
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DPRINTERS_FILE=\"/etc/trueprint/printers\" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DPRINTERS_FILE=\"/etc/trueprint/printers\" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o print_prompt.o print_prompt.c
lang_pike.c: In function ‘is_pike_reserved_word’:Wformat -Werror=format-security -fcf-protection -c -o expand_str.o expand_str.c
lang_pike.c:61:7: error: implicit declaration of function ‘strcmp’ [-Werror=implicit-function-declaration]
61 | (strcmp(fn_name,"if")==0) ||
| ^~~~~~
lang_pike.c:22:1: note: include ‘<string.h>’ or provide a declaration of ‘strcmp’
21 | #include "lang_pike.h"
+++ |+#include <string.h>
22 |
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -DPRINTERS_FILE=\"/etc/trueprint/printers\" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -
print_prompt.c: In function ‘print_prompt’:
print_prompt.c:121:11: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
121 | fgets(response,INPUT_LINE_LEN-1,stdin);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[3]: *** [Makefile:463: language.o] Error 1
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 297 |
Nodes: | 16 (0 / 16) |
Uptime: | 129:34:49 |
Calls: | 6,663 |
Calls today: | 1 |
Files: | 12,212 |
Messages: | 5,335,299 |