4 new compiler warnings (ceph.git/unstable)
hi
there are new compiler warnings:
g++ -DHAVE_CONFIG_H -I. -Wall -D__CEPH__ -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_THREAD_SAFE -rdynamic -g -O2 -MT Server.o -MD -MP -MF .deps/Server.Tpo -c -o Server.o test -f 'mds/Server.cc' || echo './'mds/Server.cc
mv -f .deps/MDS.Tpo .deps/MDS.Po
g++ -DHAVE_CONFIG_H -I. -Wall -D__CEPH__ -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_THREAD_SAFE -rdynamic -g -O2 -MT MDCache.o -MD -MP -MF .deps/MDCache.Tpo -c -o MDCache.o test -f 'mds/MDCache.cc' || echo './'mds/MDCache.cc
mv -f .deps/Server.Tpo .deps/Server.Po
g++ -DHAVE_CONFIG_H -I. -Wall -D__CEPH__ -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_THREAD_SAFE -rdynamic -g -O2 -MT Locker.o -MD -MP -MF .deps/Locker.Tpo -c -o Locker.o test -f 'mds/Locker.cc' || echo './'mds/Locker.cc./include/encoding.h: In member function ‘void Locker::issue_client_lease(CDentry*, client_t, ceph::bufferlist&, utime_t, Session*)’:
./include/encoding.h:80: warning: ‘e.LeaseStat::duration_ms’ may be used uninitialized in this function
<snip>
mds/Locker.cc:2251: note: ‘e.LeaseStat::duration_ms’ was declared here
<snip>
./include/encoding.h:80: warning: ‘e.LeaseStat::seq’ may be used uninitialized in this function
<snip>
mds/Locker.cc:2251: note: ‘e.LeaseStat::seq’ was declared here
mv -f .deps/Locker.Tpo .deps/Locker.Po
g++ -DHAVE_CONFIG_H -I. -Wall -D__CEPH__ -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_THREAD_SAFE -rdynamic -g -O2 -MT Migrator.o -MD -MP -MF .deps/Migrator.Tpo -c -o Migrator.o test -f 'mds/Migrator.cc' || echo './'mds/Migrator.cc
mv -f .deps/MDCache.Tpo .deps/MDCache.Po
g++ -DHAVE_CONFIG_H -I. -Wall -D__CEPH__ -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_THREAD_SAFE -rdynamic -g -O2 -MT MDBalancer.o -MD -MP -MF .deps/MDBalancer.Tpo -c -o MDBalancer.o test -f 'mds/MDBalancer.cc' || echo './'mds/MDBalancer.cc
mv -f .deps/Migrator.Tpo .deps/Migrator.Po
g++ -DHAVE_CONFIG_H -I. -Wall -D__CEPH__ -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_THREAD_SAFE -rdynamic -g -O2 -MT CDentry.o -MD -MP -MF .deps/CDentry.Tpo -c -o CDentry.o `test -f
- Thomas
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Am Tue, 27 Jul 2010 19:53:27 +0000 schrieb Thomas Mueller:
Quoted 14 lines
hi
there are new compiler warnings:
./include/encoding.h:80: warning: ‘e.LeaseStat::duration_ms’ may be used uninitialized in this function<snip>
mds/Locker.cc:2251: note: ‘e.LeaseStat::duration_ms’ was declared here
<snip>
Quoted 6 lines
./include/encoding.h:80: warning: ‘e.LeaseStat::seq’ may be used uninitialized in this function<snip>
mds/Locker.cc:2251: note: ‘e.LeaseStat::seq’ was declared here
all gone today - thanks for fixing!
- Thomas
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html