src/bin/ed/re.c: warning: declaration of `exp' shadows a global
declaration
Jun Kuriyama
kuriyama at imgsrc.co.jp
Tue Jul 15 15:09:54 PDT 2003
At Tue, 15 Jul 2003 11:54:06 -0700,
David O'Brien wrote:
> Much, much better if you can point to the specific GCC source code file
> where this is handled.
May this help you?
waterblue% cat exp.c
int
main(int argc, char** argv)
{
int exp = 5;
return 0;
}
waterblue% cc -Wshadow -c exp.c
exp.c: In function `main':
exp.c:4: warning: declaration of `exp' shadows a global declaration
<built-in>:0: warning: shadowed declaration is here
--
Jun Kuriyama <kuriyama at imgsrc.co.jp> // IMG SRC, Inc.
<kuriyama at FreeBSD.org> // FreeBSD Project
More information about the freebsd-current
mailing list