[Pvfs2-developers] shadowed function declarations in 2.8.0

Kyle Schochenmaier kschoche at gmail.com
Wed Feb 18 21:11:30 EST 2009


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: quicklist.patch
Type: text/x-diff
Size: 734 bytes
Desc: not available
Url : http://www.beowulf-underground.org/pipermail/pvfs2-developers/attachments/20090218/a66c533a/quicklist.bin


More information about the Pvfs2-developers mailing list