-
Notifications
You must be signed in to change notification settings - Fork 397
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compile failure: 'readdir_r' is deprecated #305
Comments
Seeing this too. From the man page:
This is a good candidate for the beginner label. |
Fails on Fedora 25 as well (4.8.8-300.fc25.x86_64). I believe it used to work on Fedora 24. |
Relevant discussion for Rust Lang including some subtleties that may also be relevant to us: rust-lang/rust#34668 |
compiles after commenting following warning as error in configure.mk.in
|
Hi @Varun-garg, thanks for taking an interest in our project! What you've done is disabled treating warnings as errors in our build system. For what it's worth, there is an easier way to do this. We provide an option to configure, Using the export enable_warnings_as_errors=no or by passing the option to make -f run_configure.mk EXTRA_CONFIGURE_ARGS='--disable-warnings-as-errors' You shouldn't have to edit While this is an effective workaround, the real task is to reimplement the linux implementation of |
Hi @rwy0717, thank you for detailing the issue and providing a better workaround. I'd be happy to fix this issue. Regards, |
This issue seems to be fixed for me. |
This problem has also been observed on Ubuntu 16.10 (ppc64le is where it was specifically seen). It would still be nice to get this issue fixed as we see OMR starting to be used on more modern systems. |
Code in |
Replaced readdir_r with readdir() Issue eclipse-omr#305 Signed-off-by: Varun Garg <varun.10@live.com>
Replaced readdir_r() call with readdir() Issue: eclipse-omr#305 Signed-off-by: Varun Garg <varun.10@live.com>
Replaced readdir_r() method with readdir() Issue: eclipse-omr#305 Signed-off-by: Varun Garg <varun.10@live.com>
Replaced readdir_r() method with readdir() Issue: eclipse-omr#305 Signed-off-by: Varun Garg <varun.10@live.com>
Running make using the example glue fails on Arch due to readdir_r having been deprecated in glibc 2.24.
The text was updated successfully, but these errors were encountered: