On 01/12/2018 11:47 AM, Kern Sibbald wrote: > I am not sure who's makefile you are referring to, but the Bacula > project has never used the -Wdeprecated option in any of its makes or > builds.
Must be Evil Debian maintainers sneaked in at night and inserted it
while no-one was looking.
> plugins.c: In function 'bool load_plugins(void*, void*, const char*, const
>> char*, bool (*)(Plugin*))':
>> plugins.c:123:12: warning: 'int readdir_r(DIR*, dirent*, dirent**)' is
>> deprecated [-Wdeprecated-declarations]
^^^^^^^^^^^^^^^^^^^^^^^^^^^
>> if ((readdir_r(dp, entry, &result) != 0) || (result == NULL)) {
>> ^~~~~~~~~
>> In file included from /usr/include/features.h:364:0,
>> from /usr/include/stdint.h:25,
>> from /usr/lib/gcc/x86_64-linux-gnu/6/include/stdint.h:9,
>> from ../bacula.h:60,
>> from plugins.c:25:
>> /usr/include/dirent.h:189:12: note: declared here
>> extern int __REDIRECT (readdir_r,
>> ^
--
Dimitri Maziuk
Programmer/sysadmin
BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________ Bacula-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bacula-users
