I added -Wno-error=deprecated-declarations as a workaround to get the compilation to complete.
There are 4 warnings in total:
/builddir/build/BUILD/xrootd-4.3.0/src/XrdSfs/XrdSfsNative.cc:201:16: warning: 'int readdir_r(DIR*, dirent*, dirent**)' is deprecated [-Wdeprecated-declarations]
/builddir/build/BUILD/xrootd-4.3.0/src/XrdSfs/XrdSfsNative.cc:201:40: warning: 'int readdir_r(DIR*, dirent*, dirent**)' is deprecated [-Wdeprecated-declarations]
/builddir/build/BUILD/xrootd-4.3.0/src/XrdDig/XrdDigFS.cc:243:16: warning: 'int readdir_r(DIR*, dirent*, dirent**)' is deprecated [-Wdeprecated-declarations]
/builddir/build/BUILD/xrootd-4.3.0/src/XrdDig/XrdDigFS.cc:243:40: warning: 'int readdir_r(DIR*, dirent*, dirent**)' is deprecated [-Wdeprecated-declarations]
—
Reply to this email directly or view it on GitHub.
Use REPLY-ALL to reply to list
To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1