From owner-freebsd-current@FreeBSD.ORG Sun Jan 16 21:05:03 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CBAF916A4CE; Sun, 16 Jan 2005 21:05:03 +0000 (GMT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A05C43D4C; Sun, 16 Jan 2005 21:05:03 +0000 (GMT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.13.1/8.13.1) with ESMTP id j0GL51Rc087237; Sun, 16 Jan 2005 16:05:01 -0500 (EST) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)j0GL51A2087234; Sun, 16 Jan 2005 21:05:01 GMT (envelope-from robert@fledge.watson.org) Date: Sun, 16 Jan 2005 21:05:01 +0000 (GMT) From: Robert Watson X-Sender: robert@fledge.watson.org To: "David O'Brien" In-Reply-To: <20050116204949.GA53539@dragon.nuxi.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-current@FreeBSD.org Subject: Re: gratuitous gcc warnings: unused function arguments? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Jan 2005 21:05:04 -0000 On Sun, 16 Jan 2005, David O'Brien wrote: > We're not going to hack GCC to deal with this. That is going way too > far. This is coming up because people are using high WARNS values in > Makefiles. Either back them down to a lower WARNS value; or we should > add -Wno-unused-parameter to WARNS level 3. I'd be fine with simply pushing threshold for unused parameters up a few notches on the warning scale. I'd like to have access to the other interesting warnings are WARNS=3 and WARNS=4 relating to qualifiers, strings, etc. Robert N M Watson