[Pvfs2-users] warning msg when compiling pvfs-2.6.3
xiangyong ouyang
ouyang.17 at osu.edu
Wed Aug 15 12:41:22 EDT 2007
I m compiling pvfs-2.6.3 with IB support (ofed-1.2). Below is my config flag:
./configure --prefix=/tmp --with-db=/tmp/BerkeleyDB --with-openib=/usr/local/ofed --with-openib-libs=/usr
/local/ofed/lib64 --with-openib-includes=/usr/local/ofed/include --with-mpi=/home/ouyangx/mpich2-install
--with-kernel=/usr/src/linux-2.6.20.5
make
During make, I received some warning msg. One bunch of warnings (as follows) reoccurs 3 times:
In file included from src/io/bmi/bmi_ib/openib.c:19:
/usr/local/ofed/include/infiniband/verbs.h:635: warning: declaration of 'access' shadows a global declaration
/usr/include/unistd.h:256: warning: shadowed declaration is here
/usr/local/ofed/include/infiniband/verbs.h:640: warning: declaration of 'access' shadows a global declaration
/usr/include/unistd.h:256: warning: shadowed declaration is here
/usr/local/ofed/include/infiniband/verbs.h:773: warning: declaration of 'index' shadows a global declaration
/usr/include/string.h:304: warning: shadowed declaration is here
/usr/local/ofed/include/infiniband/verbs.h:779: warning: declaration of 'index' shadows a global declaration
/usr/include/string.h:304: warning: shadowed declaration is here
/usr/local/ofed/include/infiniband/verbs.h:795: warning: declaration of 'access' shadows a global declaration
/usr/include/unistd.h:256: warning: shadowed declaration is here
It seems some local variables mask out global variables. Will this cause problems in my future programming? thanks!
xiangyong ouyang
More information about the Pvfs2-users
mailing list