Skip to content
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

error: ignoring return value of function declared with warn_unused_result attribute #70

Open
pacifire opened this issue Jan 16, 2017 · 1 comment

Comments

@pacifire
Copy link

screen shot 2017-01-16 at 4 14 25 pm

error: ignoring return value
of function declared with warn_unused_result attribute
[-Werror,-Wunused-result]
std::remove_if(m_bodyContactBuffer.Begin(),

I am getting this error while ndk-build on MacOS.
How should i fix this error ?

@sebastiannowicki
Copy link

sebastiannowicki commented Feb 2, 2017

Hi,
Just modify the code to: (void)std::remove_if(m_bodyContactBuffer.Begin()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants