From owner-freebsd-current@FreeBSD.ORG Fri Jan 21 19:44:25 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 727C416A4CE; Fri, 21 Jan 2005 19:44:25 +0000 (GMT) Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9C11C43D2D; Fri, 21 Jan 2005 19:44:24 +0000 (GMT) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.13.1/8.13.1) with ESMTP id j0LJiKOM019538; Fri, 21 Jan 2005 22:44:20 +0300 (MSK) (envelope-from ache@nagual.pp.ru) Received: (from ache@localhost) by nagual.pp.ru (8.13.1/8.13.1/Submit) id j0LJiKHd019537; Fri, 21 Jan 2005 22:44:20 +0300 (MSK) (envelope-from ache) Date: Fri, 21 Jan 2005 22:44:20 +0300 From: Andrey Chernov To: Clint Olsen Message-ID: <20050121194420.GC19150@nagual.pp.ru> Mail-Followup-To: Andrey Chernov , Clint Olsen , Joerg Wunsch , current@FreeBSD.ORG, bde@FreeBSD.ORG References: <20050120192324.GA30862@uriah.heep.sax.de> <20050120205501.GA69123@nagual.pp.ru> <20050120211449.GC30862@uriah.heep.sax.de> <20050120214406.GA70088@nagual.pp.ru> <20050120215807.GA70629@nagual.pp.ru> <20050120221154.GC70629@nagual.pp.ru> <20050121150709.GA60180@uriah.heep.sax.de> <20050121192622.GA19150@nagual.pp.ru> <20050121193108.GC70592@0lsen.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050121193108.GC70592@0lsen.net> User-Agent: Mutt/1.5.6i X-AntiVirus: checked by AntiVir Milter (version: 1.1.0-3; AVE: 6.29.0.8; VDF: 6.29.0.73; host: nagual.pp.ru) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.5.6 (nagual.pp.ru [0.0.0.0]); Fri, 21 Jan 2005 22:44:20 +0300 (MSK) cc: Joerg Wunsch cc: current@FreeBSD.ORG cc: bde@FreeBSD.ORG Subject: Re: [patch] Re: Implementation errors in strtol() 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: Fri, 21 Jan 2005 19:44:25 -0000 On Fri, Jan 21, 2005 at 11:31:08AM -0800, Clint Olsen wrote: > The question is, was it really a style problem or a gcc problem? The > comp.lang.c folks might suggest the latter. Whining about missing > extraneous parentheses encourages people to write code to shut up gcc, not > necessarily good code. Missing parentheses error here is intentional due to corresponding WARN level set for gcc. Just not do it and got no error. -- http://ache.pp.ru/