Is there a reason we still use auto_ptr in CreateNewBlock function ? Also there is a warning while building levelDB
util/bloom.cc:50:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (size_t i = 0; i < n; i++) { ^
and
util/logging.cc:58:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare](v == kMaxUint64/10 && delta > kMaxUint64%10)) {
Is it meant to remain this way for any reason?