gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -DDATADIR=\"/usr/share/gtypist\" -DLOCALEDIR=\"/usr/share/locale\" -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 utf8.o utf8.c
utf8.c: In function ‘widen’:
utf8.c:61:7: error: implicit declaration of function ‘fatal_error’ [-Werror=implicit-function-declaration]
61 | fatal_error(_("couldn't convert UTF-8 to wide characters"), "?");
| ^~~~~~~~~~~
gtypist.c: In function ‘main’:
gtypist.c:2239:3: error: implicit declaration of function ‘check_script_file_with_current_encoding’ [-Werror=implicit-function-declaration]
2239 | check_script_file_with_current_encoding(script);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cursmenu.c: In function ‘do_menu’:
cursmenu.c:272:33: error: implicit declaration of function ‘utf8len’ [-Werror=implicit-function-declaration]
272 | max_width = max (max_width, utf8len (descriptions[i]));
| ^~~~~~~
cursmenu.c:42:25: note: in definition of macro ‘max’
42 | #define max(x,y) (((x)>(y)) ? (x) : (y))
| ^
script.c: In function ‘get_script_line’:
script.c:207:3: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
207 | fgets(line, MAX_SCR_LINE, script);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
script.c:214:7: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
214 | fgets(line, MAX_SCR_LINE, script);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cursmenu.c:317:3: error: implicit declaration of function ‘mvwideaddstr’; did you mean ‘mvwaddstr’? [-Werror=implicit-function-declaration]
317 | mvwideaddstr (2, (80 - utf8len (title)) / 2, title);
| ^~~~~~~~~~~~
| mvwaddstr
cursmenu.c:359:7: error: implicit declaration of function ‘get_widech’; did you mean ‘get_wch’? [-Werror=implicit-function-declaration]
359 | get_widech( &ch );
| ^~~~~~~~~~
| get_wch
cc1: some warnings being treated as errors
make[3]: *** [Makefile:451: utf8.o] Error 1
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 300 |
Nodes: | 16 (2 / 14) |
Uptime: | 15:28:47 |
Calls: | 6,706 |
Files: | 12,239 |
Messages: | 5,351,162 |