-
Notifications
You must be signed in to change notification settings - Fork 13
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
Fix broken compilation on Ubuntu 18.04 #104
Conversation
- Add ignore_unused lambda ignoring return value of nice calls raising a warning for unused return value treated as error due to Werror - Add compiler flag ldl if present
Fixing #102 |
@ironMann Could you please have a look at this pull request! |
Seems to be already merged, closing |
@ironMann Just saw, thanks! Let me quickly check whether it builds now on Ubuntu |
@ironMann Still getting an error (due to Werror) with the nice calls
I think the trick with the lambda function with unnamed parameters is the only workaround safely ignoring the return value on all platforms. One more info: Compiler is this (relevant for Werror treatment):
|
Superseeded by #107 |
of nice calls raising a warning for unused return value
treated as error due to Werror