[Pvfs2-developers] Re: shadowed function declarations in 2.8.0
Phil Carns
carns at mcs.anl.gov
Sun Feb 22 15:07:38 EST 2009
Thanks Kyle. Patch is applied in cvs trunk now.
-Phil
Kyle Schochenmaier wrote:
> While compiling 2.8.0 I ran into some shadowed function declaration
> warnings, I believe the correct solution is to just rename the
> offending functions/variables, however the compiler is supposed to use
> the correct functions anyhow.
> Attached is a patch to rename the variables and fix the following
> build warnings:
>
> In file included from src/io/bmi/bmi_ib/ib.h:12,
> from src/io/bmi/bmi_ib/util.c:15:
> ./src/common/quicklist/quicklist.h: In function 'qlist_exists':
> ./src/common/quicklist/quicklist.h:195: warning: declaration of 'link'
> shadows a global declaration
> /usr/include/unistd.h:757: warning: shadowed declaration is here
>
>
>
> Kyle Schochenmaier
>
More information about the Pvfs2-developers
mailing list