This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Clean-up C's builtin function type matching.
On Mon, Jul 21, 2003 at 08:52:04PM +0200, Gabriel Dos Reis wrote:
> My reading of David's message is different. He was complaining about
> the local declaration of 'sin':
>
> > The warnings about `sin' are a bit more debatable. Arguably it is bad
> > style to use the name of a standard C function as the name of a local
> > variable, if the relevant header file isn't included. So whether this
> > change to the behaviour of -Wshadow is a regression or a progression is
> > in the eyes of the beholder.
>
> Lets just address this point for the moment -- ignoring 'exp'. The
> FreeBSD community feels this is indead a regression.
>
> >From that, I understand David's comment as saying that for the moment,
> he's not considering the 'exp' case, but wanted to concentrate on the
> 'sin' case.
Hi Gaby,
You are correct. Right now it would be good if we can agree on the issue
of 'sin' and -Wshadow.
--
-- David (obrien@FreeBSD.org)