Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Warnings about Ignored Return Values #1579
Steps to Reproduce
Elektra builds without any warnings
The Travis build reports the following warnings:
@sanssecours Thank you for the report!
@petermax2 Thanks for doing your part!
I wonder why I do not see the warnings locally. Compiler seems to be 4.8.4, and flags are:
The flags are identical to my system, except it has an additional
In some of the warnings there is already a
I would assume so. Seems like the definitions for the functions above use the function attribute
I do not think this will work here, since the function annotations specifically state that we should not ignore the return value.
When compiling a Debian package (e.g. with the script
in cmake/ElektraCompiling.cmake does not have an effect, it is already default.