bison-patches
[Top][All Lists]
Advanced

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

Re: [PATCH] Miscellaneous code readability improvements.


From: Joel E. Denny
Subject: Re: [PATCH] Miscellaneous code readability improvements.
Date: Fri, 28 Aug 2009 04:51:20 -0400 (EDT)
User-agent: Alpine 1.00 (DEB 882 2007-12-20)

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

[Prev in Thread] Current Thread [Next in Thread]