Ticket #1897 (new defect) — at Initial Version
Build breaks on ignored return values
Reported by: | metux | Owned by: | metux |
---|---|---|---|
Priority: | blocker | Milestone: | 4.7.2 |
Component: | mc-core | Version: | master |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Branch state: | Votes for changeset: |
Description
glibc has a lot of functions whose return values should not be ignored. this produces a lot of warnings, which cause the build to break when using -Werror (which *really* should be standard for any production build ;-p):
background.c:446: error: ignoring return value of 'write', declared with attribute warn_unused_result
(setting the priority to blocker, since it breaks any serious build)
Note: See
TracTickets for help on using
tickets.