From owner-freebsd-audit Mon Nov 26 11:14:35 2001 Delivered-To: freebsd-audit@freebsd.org Received: from espresso.q9media.com (espresso.q9media.com [216.254.138.122]) by hub.freebsd.org (Postfix) with ESMTP id 7532537B417; Mon, 26 Nov 2001 11:14:31 -0800 (PST) Received: (from mike@localhost) by espresso.q9media.com (8.11.6/8.11.6) id fAQJDia06021; Mon, 26 Nov 2001 14:13:44 -0500 (EST) (envelope-from mike) Date: Mon, 26 Nov 2001 14:13:44 -0500 From: Mike Barcroft To: "Andrew R. Reiter" Cc: "Sergey A. Osokin" , audit@FreeBSD.org, Dave Chapeskie Subject: Re: date(1) WARNS=2 cleanup Message-ID: <20011126141344.C84711@espresso.q9media.com> References: <20011126185449.A29823@freebsd.org.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: ; from arr@FreeBSD.org on Mon, Nov 26, 2001 at 12:08:12PM -0500 Organization: The FreeBSD Project Sender: owner-freebsd-audit@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Andrew R. Reiter writes: > Why is there a need to change sin -> osin? The sin variable shadows the global declaration of the GCC builtin sin(). Some time ago, DES suggested we disable GCC builtins when WARNS=2 is enable, but we actually want the builtins. The real solution is, ofcourse, to fix GCC; it should not prototype functions on its own, without a header. Best regards, Mike Barcroft To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message