https://bugzilla.redhat.com/show_bug.cgi?id=1050744
--- Comment #45 from nucleo <alekcejk(a)googlemail.com> ---
(In reply to Orion Poplawski from comment #44)
readdir_r is deprecated, just use readdir everywhere.
After I replaced readdir_r with readdir:
belle_sip_utils.c: In function 'belle_sip_parse_directory':
belle_sip_utils.c:1241:8: error: too many arguments to function 'readdir'
res = readdir(dir, ent, &result);
^~~~~~~
In file included from belle_sip_utils.c:31:0:
/usr/include/dirent.h:162:23: note: declared here
extern struct dirent *readdir (DIR *__dirp) __nonnull ((1));
^~~~~~~
belle_sip_utils.c:1241:6: error: assignment makes integer from pointer without
a cast [-Werror=int-conversion]
res = readdir(dir, ent, &result);
^
belle_sip_utils.c:1249:9: error: too many arguments to function 'readdir'
res = readdir(dir, ent, &result);
^~~~~~~
In file included from belle_sip_utils.c:31:0:
/usr/include/dirent.h:162:23: note: declared here
extern struct dirent *readdir (DIR *__dirp) __nonnull ((1));
^~~~~~~
belle_sip_utils.c:1249:7: error: assignment makes integer from pointer without
a cast [-Werror=int-conversion]
res = readdir(dir, ent, &result);
--
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component