non port: mail/panda-cclient/files/patch-src_osdep_unix_mx.c |
Number of commits found: 1 |
Sunday, 21 May 2023
|
14:47 Dimitry Andric (dim)
mail/panda-cclient: fix build with clang 16
Clang 16 has a new error about incompatible function types, which shows
up when building mail/panda-cclient:
news.c:370:36: error: incompatible function pointer types passing 'int (struct
dirent *)' to parameter of type 'int (*)(const struct dirent *)'
[-Wincompatible-function-pointer-types]
if ((nmsgs = scandir (tmp,&names,news_select,news_numsort)) >= 0) {
^~~~~~~~~~~
/usr/include/dirent.h:127:12: note: passing argument to parameter here
int (*)(const struct dirent *), int (*)(const struct dirent **,
^
news.c:370:48: error: incompatible function pointer types passing 'int (const
void *, const void *)' to parameter of type 'int (*)(const struct dirent **,
const struct dirent **)' [-Wincompatible-function-pointer-types]
if ((nmsgs = scandir (tmp,&names,news_select,news_numsort)) >= 0) {
^~~~~~~~~~~~
/usr/include/dirent.h:127:44: note: passing argument to parameter here (Only the first 15 lines of the commit message are shown above )
7c71169 |
Number of commits found: 1 |