[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#195865: gcc-3.3 wrongly complains about shadowed declarations




On Mon, 2 Jun 2003, Daniel Jacobowitz wrote:

> On Tue, Jun 03, 2003 at 12:50:31AM +0200, Michael Renner wrote:
> > Package: gcc-3.3
> > Version: 1:3.3-2
> > Severity: minor
> > Tags: upstream
> >
> > It seems as if gcc-3.3 has some builtin "stuff" which causes wrong
> > reports on shadowed declarations. These are the warnings caused by a
> > build of the current proftpd cvs tree:
>
> I'm pretty sure that naming functions log and logf is actually invalid
> C.  They're both specified as reserved names in the standard (7.1.3 #1
> in C99).

Yeah, my fault, I didn't know that C99 extended the scope of the
reserved names that much. Please close the bug report.

best regards,
michael



Reply to: