update gcc to gcc 10 and support c++17 (#5394)

* update gcc to gcc 10 and support c++17
    update brpc to 0.9.7
    update boost to 1.73
    remove third-party boost 1.54 for mysql

* update cmake version

* ignore jdk version

* remove unused patch

* avoid use SYS_getrandom call
This commit is contained in:
stdpain
2021-03-25 09:30:38 +08:00
committed by GitHub
parent 23bd4a959a
commit ad67dd34a0
33 changed files with 183 additions and 371 deletions

View File

@ -63,7 +63,7 @@ std::string Decompressor::debug_info() {
// Gzip
GzipDecompressor::GzipDecompressor(bool is_deflate)
: Decompressor(_is_deflate ? CompressType::DEFLATE : CompressType::GZIP),
: Decompressor(is_deflate ? CompressType::DEFLATE : CompressType::GZIP),
_is_deflate(is_deflate) {}
GzipDecompressor::~GzipDecompressor() {