Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: warn_unused_result

warn_unused_result

From: Frank Gevaerts <frank_at_gevaerts.be>
Date: Tue, 29 Jun 2010 23:02:56 +0200

Hi,

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?

Frank

-- 
"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. Kernighan
Received on 2010-06-29

Page was last modified "Jan 10 2012" The Rockbox Crew
aaa