Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
wh002 committed Mar 14, 2023
1 parent c1c777c commit 8288b1d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/runtime/ranger/ranger_resource_policy_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,15 @@
// specific language governing permissions and limitations
// under the License.

// Disable class-memaccess warning to facilitate compilation with gcc>7
// https://github.com/Tencent/rapidjson/issues/1700
#pragma GCC diagnostic push
#if defined(__GNUC__) && __GNUC__ >= 8
#pragma GCC diagnostic ignored "-Wclass-memaccess"
#endif
#include <rapidjson/document.h>
#pragma GCC diagnostic pop

#include "common/replication.codes.h"
#include "common/replica_envs.h"
#include "meta/meta_options.h"
Expand Down

0 comments on commit 8288b1d

Please sign in to comment.