From 958e5bcc9831fca36339edce850b3f89ea521031 Mon Sep 17 00:00:00 2001 From: chriseth Date: Thu, 6 Aug 2015 16:42:26 +0200 Subject: [PATCH] Ignore override warnings in Qt. --- libethereum/State.cpp | 2 -- libnatspec/NatspecExpressionEvaluator.h | 4 +++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libethereum/State.cpp b/libethereum/State.cpp index 955646f04..8329ff485 100644 --- a/libethereum/State.cpp +++ b/libethereum/State.cpp @@ -47,8 +47,6 @@ namespace fs = boost::filesystem; #define ctrace clog(StateTrace) #define ETH_TIMED_ENACTMENTS 0 -static const unsigned c_maxSyncTransactions = 256; - const char* StateSafeExceptions::name() { return EthViolet "⚙" EthBlue " ℹ"; } const char* StateDetail::name() { return EthViolet "⚙" EthWhite " ◌"; } const char* StateTrace::name() { return EthViolet "⚙" EthGray " ◎"; } diff --git a/libnatspec/NatspecExpressionEvaluator.h b/libnatspec/NatspecExpressionEvaluator.h index f7984f6e8..91d12399c 100644 --- a/libnatspec/NatspecExpressionEvaluator.h +++ b/libnatspec/NatspecExpressionEvaluator.h @@ -20,9 +20,11 @@ */ #pragma once - +#pragma warning(push) +#pragma clang diagnostic ignored "-Winconsistent-missing-override" #include #include +#pragma warning(pop) /** * Should be used to evaluate natspec expression.