From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11408 invoked by alias); 7 Dec 2001 07:32:18 -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 11386 invoked from network); 7 Dec 2001 07:32:17 -0000 Received: from unknown (HELO fencepost.gnu.org) (199.232.76.164) by sources.redhat.com with SMTP; 7 Dec 2001 07:32:17 -0000 Received: from daikokuya.demon.co.uk ([158.152.184.26] helo=monkey.daikokuya.demon.co.uk) by fencepost.gnu.org with esmtp (Exim 3.22 #1 (Debian)) id 16CFUV-0002LK-00 for ; Fri, 07 Dec 2001 02:32:16 -0500 Received: from neil by monkey.daikokuya.demon.co.uk with local (Exim 3.33 #1 (Debian)) id 16CFV2-0003Jj-00; Fri, 07 Dec 2001 07:32:48 +0000 Date: Fri, 07 Dec 2001 02:03:00 -0000 To: "David E. Weekly" Cc: gcc@gnu.org Subject: Re: Patch to Add -Wunused-returns Message-ID: <20011207073246.B11770@daikokuya.demon.co.uk> References: <0c4f01c17edd$5bbbefc0$5c044589@legato.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0c4f01c17edd$5bbbefc0$5c044589@legato.com> User-Agent: Mutt/1.3.23i From: Neil Booth X-SW-Source: 2001-12/txt/msg00352.txt.bz2 David E. Weekly wrote:- > +/* Check to see if a non-void function's return value is ignored. */ Comments end in full stop followed by 2 spaces in GCC. > + /* Make sure our expression is a function. */ > +/* Warn about unused return values from non-void functions. */ Neil.