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



Rockbox mail archive

Subject: Re: warn_unused_result

Re: warn_unused_result

From: Rafaël Carré <rafael.carre_at_gmail.com>
Date: Tue, 29 Jun 2010 23:05:10 +0200

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

> 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?

I think we should rather fix the problem instead of hiding it

-- 
Rafaël Carré
Received on 2010-06-29

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