aboutsummaryrefslogtreecommitdiffstats
path: root/libdevcore/Common.h
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2019-01-19 02:13:59 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2019-01-19 02:13:59 +0800
commitb1d43a868c1d5dc63731ca1672fd827d4bd536cb (patch)
tree8c936f02884802c368cfdacb98b53654b4833f00 /libdevcore/Common.h
parent6a32f7e4445372fe97c4b6a2415b90dba2deb6db (diff)
downloaddexon-solidity-b1d43a868c1d5dc63731ca1672fd827d4bd536cb.tar.gz
dexon-solidity-b1d43a868c1d5dc63731ca1672fd827d4bd536cb.tar.zst
dexon-solidity-b1d43a868c1d5dc63731ca1672fd827d4bd536cb.zip
Add error condition if compiling with Boost <1.65
Diffstat (limited to 'libdevcore/Common.h')
-rw-r--r--libdevcore/Common.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libdevcore/Common.h b/libdevcore/Common.h
index 08757daf..e02cf7fa 100644
--- a/libdevcore/Common.h
+++ b/libdevcore/Common.h
@@ -39,6 +39,11 @@
#include <libdevcore/vector_ref.h>
+#include <boost/version.hpp>
+#if (BOOST_VERSION < 106500)
+#error "Unsupported Boost version. At least 1.65 required."
+#endif
+
#include <boost/multiprecision/cpp_int.hpp>
#include <map>