From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31028 invoked by alias); 30 Aug 2010 21:11:17 -0000 Received: (qmail 31000 invoked by uid 48); 30 Aug 2010 21:11:05 -0000 Date: Tue, 31 Aug 2010 11:10:00 -0000 Message-ID: <20100830211105.30996.qmail@sourceware.org> From: "eblake at redhat dot com" To: glibc-bugs@sources.redhat.com In-Reply-To: <20100830202938.11959.jim@meyering.net> References: <20100830202938.11959.jim@meyering.net> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug libc/11959] fwrite must not be declared with the warn_unused_result attribute X-Bugzilla-Reason: CC Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org X-SW-Source: 2010-08/txt/msg00112.txt.bz2 ------- Additional Comments From eblake at redhat dot com 2010-08-30 21:11 ------- See also this gcc bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25509 where the suggested hammer is to completely disable ALL warn_unused_result checking in order to silence spurious warnings for fwrite(). I'd rather remove the __wur from fwrite than turn off what would otherwise be a useful gcc feature for functions where warning really does make sense. -- http://sourceware.org/bugzilla/show_bug.cgi?id=11959 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.