Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Nov 2001 14:13:44 -0500
From:      Mike Barcroft <mike@FreeBSD.org>
To:        "Andrew R. Reiter" <arr@FreeBSD.org>
Cc:        "Sergey A. Osokin" <osa@freebsd.org.ru>, audit@FreeBSD.org, Dave Chapeskie <freebsd@ddm.wox.org>
Subject:   Re: date(1) WARNS=2 cleanup
Message-ID:  <20011126141344.C84711@espresso.q9media.com>
In-Reply-To: <Pine.NEB.3.96L.1011126120756.93414B-100000@fledge.watson.org>; from arr@FreeBSD.org on Mon, Nov 26, 2001 at 12:08:12PM -0500
References:  <20011126185449.A29823@freebsd.org.ru> <Pine.NEB.3.96L.1011126120756.93414B-100000@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Andrew R. Reiter <arr@FreeBSD.org> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011126141344.C84711>