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 after_login.o after_login.c
after_login.c: In function ‘print_lastlog’:
after_login.c:90:20: warning: passing argument 1 of ‘ctime’ from incompatible pointer type [-Wincompatible-pointer-types]
90 | strtime = ctime (&(oldlog->ll_time));
| ^~~~~~~~~~~~~~~~~~
| |
| int32_t * {aka int *}
In file included from after_login.c:45:
/usr/include/time.h:183:35: note: expected ‘const time_t *’ {aka ‘const long int *’} but argument is of type ‘int32_t *’ {aka ‘int *’}
183 | extern char *ctime (const time_t *__timer) __THROW;
| ~~~~~~~~~~~~~~^~~~~~~
after_login.c: In function ‘check_mail’:
after_login.c:132:7: error: implicit declaration of function ‘get_check_email’; did you mean ‘check_mail’? [-Werror=implicit-function-declaration]
132 | if (get_check_email())
| ^~~~~~~~~~~~~~~
| check_mail
cc1: some warnings being treated as errors
make[3]: *** [Makefile:391: after_login.o] Error 1
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 297 |
Nodes: | 16 (2 / 14) |
Uptime: | 09:23:52 |
Calls: | 6,666 |
Files: | 12,213 |
Messages: | 5,336,266 |