Rockbox mail archiveSubject: warn_unused_result
From: Frank Gevaerts <frank_at_gevaerts.be>
Date: Tue, 29 Jun 2010 23:02:56 +0200
Since a while, some build systems show lots of warnings like "warning:
ignoring return value of 'fwrite', declared with attribute warn_unused_result"
when building tools/. This isn't seen very often because the tools
aren't rebuilt every time.
It's possible to suppress the warning with -U_FORTIFY_SOURCE. Should we?
-- "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." - Brian W. KernighanReceived on 2010-06-29