Errors building with Clang 3.8: "ignoring return value of function"
I'm getting errors like this that prevent building with Clang 3.8 on Arch Linux:
Here's my build log.
Clang is asking to check the result of these functions instead of ignoring it. I was thinking of submitting a PR, but I'm not sure how to handle the case when they don't return "1". It seems that would indicate a serious problem, so should the editor just exit at that point?
As a quick fix, is there somewhere I can add "-Wno-unused-result" as a build flag?
asked Jun 30 '16 at 12:12 AM in Linux
You can add that to LinuxToolchain.cs, GetCLArguments_Global() function.
answered Jun 30 '16 at 01:34 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here