On Thu, 27 Aug 2009, Eric Blake wrote:

> branch-2.4.2
> In file included from scan-code-c.c:3:
> scan-code.c:714: warning: declaration of 'debug_flag' shadows a global
> declaration
> getargs.h:38: warning: shadowed declaration is here
>
> branch-2.5
> In file included from symtab.h:31,
>                  from gram.h:106,
>                  from InadequacyList.h:24,
>                  from AnnotationList.h:25,
>                  from AnnotationList.c:23:
> scan-code.h:137: warning: declaration of 'named_ref' shadows a global
> declaration
> named-ref.h:35: warning: shadowed declaration is here

The second one looks easy to fix, but I'm not actually seeing either of 
the warnings.  What gcc and flex are you using?  Here are mine:

  % flex --version
  flex 2.5.34
  % gcc --version
  gcc (GCC) 4.2.4 (Ubuntu 4.2.4-1ubuntu4)

I also tried:

  % gcc --version
  gcc (GCC) 4.3.4


Reply via email to