Subject: Re: systm.h's 'version' shadowed in iavc.c (ISDN)
To: None <current-users@netbsd.org>
From: Christos Zoulas <christos@astron.com>
List: current-users
Date: 07/09/2005 21:48:27
In article <20050709182649.GB13751@drowsy.duskware.de>,
Martin Husemann  <martin@duskware.de> wrote:
>On Sat, Jul 09, 2005 at 06:51:43PM +0300, Christos Zoulas wrote:
>> It does that, and it found a real bug in the isdn code.
>
>The point is that it also warns about lots of unrelated global shadows.
>Not being able to use variable names like "version" (and tons of others)
>is ... strange. We have lots of global names, and some are arch dependend.
>There is no way to avoid this warnings besides trial and error - and that is
>insane.

The point is that we should limit the number of global variables...

>Martin
>P.S.: of course it can't know which global shadows it should or should not
>warn about. Has any global shadow been a real bug yet?

I don't believe so.

christos