Skip to content

Instantly share code, notes, and snippets.

@cbodley
Created July 28, 2016 18:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cbodley/47029e54c9111dd4245275feb544c41f to your computer and use it in GitHub Desktop.
Save cbodley/47029e54c9111dd4245275feb544c41f to your computer and use it in GitHub Desktop.
/home/cbodley/ceph/src/rgw/rgw_op.cc: In member function ‘virtual void RGWGetObj::execute()’:
/home/cbodley/ceph/src/rgw/rgw_op.cc:1377:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (ofs >= cs_info.orig_size) {
^
/home/cbodley/ceph/src/rgw/rgw_op.cc:1385:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (end >= cs_info.orig_size) {
^
/home/cbodley/ceph/src/rgw/rgw_op.cc: In member function ‘virtual void RGWPutObj::execute()’:
/home/cbodley/ceph/src/rgw/rgw_op.cc:3003:1: error: jump to label ‘done’ [-fpermissive]
done:
^
/home/cbodley/ceph/src/rgw/rgw_op.cc:2907:10: note: from here
goto done;
^
/home/cbodley/ceph/src/rgw/rgw_op.cc:2923:37: note: crosses initialization of ‘std::map<std::__cxx11::basic_string<char>, ceph::buffer::list>::iterator cmp’
map<string, bufferlist>::iterator cmp = s->bucket_attrs.find(RGW_ATTR_COMPRESSION);
^
/home/cbodley/ceph/src/rgw/rgw_compression.cc: In member function ‘virtual int RGWGetObj_Decompress::handle_data(ceph::bufferlist&, off_t, off_t)’:
/home/cbodley/ceph/src/rgw/rgw_compression.cc:107:53: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (ofs_in_bl + cs_info.blocks[first_block].len > bl_len) {
^
/home/cbodley/ceph/src/rgw/rgw_compression.cc: In member function ‘virtual void RGWGetObj_Decompress::fixup_range(off_t&, off_t&)’:
/home/cbodley/ceph/src/rgw/rgw_compression.cc:144:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (i < cs_info.blocks.size() && cs_info.blocks[i].old_ofs <= bl_ofs) i++;
^
/home/cbodley/ceph/src/rgw/rgw_compression.cc:144:69: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (i < cs_info.blocks.size() && cs_info.blocks[i].old_ofs <= bl_ofs) i++;
^
/home/cbodley/ceph/src/rgw/rgw_compression.cc:146:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (i < cs_info.blocks.size() && cs_info.blocks[i].old_ofs < bl_len) i++;
^
/home/cbodley/ceph/src/rgw/rgw_compression.cc:146:69: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (i < cs_info.blocks.size() && cs_info.blocks[i].old_ofs < bl_len) i++;
^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment