Date: Sat, 11 Feb 2023 08:16:16 +0100 From: =?UTF-8?Q?Jos=C3=A9_P=C3=A9rez?= <fbl@aoek.com> To: ports@freebsd.org Cc: mail@ozzmosis.com Subject: editors/uemacs fails to biuld on 14.0-CURRENT 1400079 Message-ID: <8aceaed7bb0323fc53143a8befd35170@mail.yourbox.net>
next in thread | raw e-mail | index | archive | help
Hi, I get the following error when poudriere building editors/uemacs on 14.0-CURRENT 1400079: ../src/eval.c:1483:10: error: incompatible pointer to integer conversion returning 'void *' from a function with result type 'int' [-Wint-conversion] return NULL; ^~~~ /usr/include/sys/_null.h:34:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../src/eval.c:1495:9: error: incompatible pointer to integer conversion returning 'void *' from a function with result type 'int' [-Wint-conversion] return NULL; ^~~~ /usr/include/sys/_null.h:34:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../src/eval.c:1501:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *PASCAL NEAR getwlist(buf) ^ ../src/eval.c:1525:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int PASCAL NEAR is_num(st) ^ ../src/eval.c:1558:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int PASCAL NEAR dispvar(f, n) /* display a variable's value */ ^ ../src/eval.c:1608:13: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] PASCAL NEAR desvars(f, n) ^ int ../src/eval.c:1608:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ../src/eval.c:1711:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int PASCAL NEAR desfunc(f, n) ^ ../src/eval.c:1754:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VOID PASCAL NEAR pad(s, len) /* pad a string to indicated length */ ^ 60 warnings and 2 errors generated. *** Error code 1 Stop. make[2]: stopped in /wrkdirs/usr/ports/editors/uemacs/work/uemacs-4.0_1/freebsd *** Error code 1 Stop. make[1]: stopped in /wrkdirs/usr/ports/editors/uemacs/work/uemacs-4.0_1 *** Error code 1 Stop. make: stopped in /usr/ports/editors/uemacs Is this known? Thank you. -- José Pérez
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8aceaed7bb0323fc53143a8befd35170>