liqinggd opened a new issue #199: `_readdir64_r_` is deprecated since glibc 2.24
URL: https://github.com/apache/incubator-teaclave-sgx-sdk/issues/199
 
 
   When Compile it on Ubuntu 18.04, there is a warning in `sgx_ustdc/file.c`
   
   ```
   file.c: In function _u_readdir64_r_ocall_:
   file.c:276:5: warning: _readdir64_r_ is deprecated 
[-Wdeprecated-declarations]
        return readdir64_r(dirp, entry, result);
        ^~~~~~
   In file included from file.c:29:0:
   /usr/include/dirent.h:201:12: note: declared here
    extern int readdir64_r (DIR *__restrict __dirp,
               ^~~~~~~~~~~
   ```
   
   Since glibc 2.24, `_readdir64_r_ ` is deprecated. (source : 
http://man7.org/linux/man-pages/man3/readdir_r.3.html)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@teaclave.apache.org
For additional commands, e-mail: notifications-h...@teaclave.apache.org

Reply via email to