diff --git a/libdevcore/Common.h b/libdevcore/Common.h index 4ed4e4365..f1d35bbc7 100644 --- a/libdevcore/Common.h +++ b/libdevcore/Common.h @@ -45,7 +45,6 @@ #pragma warning(push) #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wunused-parameter" -#pragma GCC diagnostic ignored "-fpermissive" #include #if (BOOST_VERSION == 105800) #include "boost_multiprecision_number_compare_bug_workaround.hpp" diff --git a/libwhisper/Common.h b/libwhisper/Common.h index deb13d111..c05ac34ca 100644 --- a/libwhisper/Common.h +++ b/libwhisper/Common.h @@ -58,8 +58,8 @@ enum WhisperPacket PacketCount }; -enum { TopicBloomFilterSize = 64 }; -enum { WhisperProtocolVersion = 3 }; +const int TopicBloomFilterSize = 64; +const int WhisperProtocolVersion = 3; using AbridgedTopic = FixedHash<4>; using Topic = h256;