[VTN-150] VTN Coordinator cannot be built on Fedora 25. Created: 14/Dec/16  Updated: 19/Oct/17  Resolved: 21/Dec/16

Status: Resolved
Project: vtn
Component/s: Core
Affects Version/s: unspecified
Fix Version/s: None

Type: Bug
Reporter: Shigeru Yasuda Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 7360

 Description   

I tries to build VTN Coordinator on Fedora 25, but it failed due to the following compiler warning.

rmpath.c: In function 'dir_cleanup':
rmpath.c:262:2: error: 'readdir_r' is deprecated [-Werror=deprecated-declarations]
while ((err = readdir_r(dirp, buf, &dp)) == 0) {
^~~~~
In file included from rmpath.c:17:0:
/usr/include/dirent.h:183:12: note: declared here
extern int readdir_r (DIR *__restrict __dirp,

readdir_r() is marked as deprecated as of glibc-2.24. But I think we should ignore that warning because no suitable substitute is provided.



 Comments   
Comment by Shigeru Yasuda [ 14/Dec/16 ]

https://git.opendaylight.org/gerrit/49329 (master)

Comment by Shigeru Yasuda [ 15/Dec/16 ]

https://git.opendaylight.org/gerrit/49402 (stable/boron)

Comment by Shigeru Yasuda [ 21/Dec/16 ]

https://git.opendaylight.org/gerrit/49675 (stable/beryllium)

Generated at Wed Feb 07 20:48:11 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.