On 02/17/2016 05:43 PM, Petr Spacek wrote:
Hello,

And because upstream is paranoid, it is being compiled with:
$ gcc -Werror -Wall

Did anyone met similar problem? What did you do with it?
Remove -Werror.

__attribute__((nonnull)) is tremendously useful for static code analysis and
helped to uncover a lot of (not-yet triggered) issues in the code, so just
removing the attribute would not make me happy.
-Werror is useful to devs when actively working on code, but using it in released production code to be used in packages is plain st***.

Ralf
--
devel mailing list
devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org

Reply via email to