Page MenuHomePhabricator

Fix deprecated ByteSize() for protobuf >= 3.1
ClosedPublic

Authored by Fabien on May 28 2020, 10:04.

Details

Reviewers
deadalnix
Group Reviewers
Restricted Project
Commits
rABCeb87697b0e40: Fix deprecated ByteSize() for protobuf >= 3.1
Summary

Based on the reverted D5386 but accounting on protobuf version to remain
compatible.
Note that autotools will still have the warning.

Test Plan

With protobuf >= 3.1:

ninja check

Make sure the warning is gone.

Run the gitian builds.

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Fabien requested review of this revision.May 28 2020, 10:04
deadalnix added inline comments.
src/qt/CMakeLists.txt
257 ↗(On Diff #20659)

Can we simply require 3.1 and on? debian stable ship with 3.6 so that should be alright.

src/qt/CMakeLists.txt
257 ↗(On Diff #20659)

That would prevent from building on any Ubuntu LTS prior to the latest one which is only 1 month old.

This revision is now accepted and ready to land.May 28 2020, 14:30