From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28082 invoked by alias); 7 Dec 2001 00:11:50 -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 28043 invoked from network); 7 Dec 2001 00:11:49 -0000 Received: from unknown (HELO fencepost.gnu.org) (199.232.76.164) by sources.redhat.com with SMTP; 7 Dec 2001 00:11:49 -0000 Received: from smtp1.legato.com ([137.69.200.1]) by fencepost.gnu.org with esmtp (Exim 3.22 #1 (Debian)) id 16C8cG-0005I6-00 for ; Thu, 06 Dec 2001 19:11:48 -0500 Received: from mta1.legato.com (mta1.legato.com [137.69.1.14]) by smtp1.legato.com (Switch-2.1.3/Switch-2.1.0) with ESMTP id fB70BjM10580 for ; Thu, 6 Dec 2001 16:11:45 -0800 (PST) Received: from mail.legato.com (mail [137.69.1.58]) by mta1.legato.com (Switch-2.1.3/Switch-2.1.0) with ESMTP id fB70Bju21126 for ; Thu, 6 Dec 2001 16:11:45 -0800 (PST) Received: from gadzooks (trilluser@gadzooks.legato.com [137.69.4.92]) by mail.legato.com (SendmailServer-1.0.4/8.11.1) with SMTP id fB70BHk08495 for ; Thu, 6 Dec 2001 16:11:18 -0800 (PST) Message-ID: <0b4001c17eb3$a920f640$5c044589@legato.com> From: "David E. Weekly" To: Subject: -Wignored-returns? Date: Thu, 06 Dec 2001 16:23:00 -0000 Organization: Legato Systems, Inc. MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-SW-Source: 2001-12/txt/msg00333.txt.bz2 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? Yours, -david