From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32499 invoked by alias); 7 Dec 2001 00:23:02 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 32478 invoked from network); 7 Dec 2001 00:23:02 -0000 Received: from unknown (HELO fencepost.gnu.org) (199.232.76.164) by sources.redhat.com with SMTP; 7 Dec 2001 00:23:02 -0000 Received: from mail-out2.apple.com ([17.254.0.51]) by fencepost.gnu.org with esmtp (Exim 3.22 #1 (Debian)) id 16C8n7-0006NF-00 for ; Thu, 06 Dec 2001 19:23:01 -0500 Received: from mailgate1.apple.com (A17-128-100-225.apple.com [17.128.100.225]) by mail-out2.apple.com (8.11.3/8.11.3) with ESMTP id fB70N0X04673 for ; Thu, 6 Dec 2001 16:23:00 -0800 (PST) Received: from scv1.apple.com (scv1.apple.com) by mailgate1.apple.com (Content Technologies SMTPRS 4.2.1) with ESMTP id ; Thu, 6 Dec 2001 16:22:45 -0800 Received: from johada (johada.apple.com [17.202.41.77]) by scv1.apple.com (8.11.3/8.11.3) with ESMTP id fB70Mxk03130; Thu, 6 Dec 2001 16:22:59 -0800 (PST) Date: Thu, 06 Dec 2001 16:26:00 -0000 Subject: Re: -Wignored-returns? Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v472) Cc: Dale Johannesen , gcc@gnu.org To: "David E. Weekly" From: Dale Johannesen In-Reply-To: <0b4001c17eb3$a920f640$5c044589@legato.com> Message-Id: <903FC75A-EAA8-11D5-8923-003065C86F94@apple.com> Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.472) X-SW-Source: 2001-12/txt/msg00334.txt.bz2 On Thursday, December 6, 2001, at 04:11 PM, David E. Weekly wrote: > GCC Team, > > Hello! I saw in the GCC Bug mail archives a post that a certain Gray > Watson > had proposed in 1992 for warning on ignored return values: > http://www.geocrawler.com/mail/msg.php3?msg_id=1968564&list=356. Such a > warning flag would prove invaluable for myself and for others seeking to > wholly replace lint with GCC warning flags and seems trivial to implement. > Is this feature already in GCC or has it yet to be added? See "Certain Changes We Don't Want To Make" in trouble.texi.