Alexey Serbin has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/19202


Change subject: [c++ build] suppress deprecation warnings
......................................................................

[c++ build] suppress deprecation warnings

With newer version of Xcode (at least starting with version 13.2.1),
building Kudu on macOS produces many warnings because of C++17-related
deprecations, so it's not easy to spot warnings attributed to updates
in the local workspace.  This patch addresses the issue, adding pragmas
to disable deprecated declarations where appropriate.

In addition, this patch also silences warnings related to usage of
the deprecated Kudu API in src/kudu/client/schema.cc (it's used just
in the library implementation, so it's not a big deal).  I also took the
liberty to replace include guards with 'pragma once' and address
some of clang-tidy's recommendations in a few affected files.

Change-Id: I069a0680b4bc981b311374cc08bb950578db0dd0
---
M src/kudu/client/schema.cc
M src/kudu/gutil/stl_util.h
M src/kudu/security/gssapi.cc
M src/kudu/util/mem_tracker.h
M src/kudu/util/memory/arena.h
5 files changed, 44 insertions(+), 30 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/02/19202/1
--
To view, visit http://gerrit.cloudera.org:8080/19202
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I069a0680b4bc981b311374cc08bb950578db0dd0
Gerrit-Change-Number: 19202
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <[email protected]>

Reply via email to