mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Set minimum versions for gcc/clang
This commit is contained in:
committed by
Nik Bougalis
parent
13a4fefe34
commit
cbc6e500b6
@@ -760,15 +760,6 @@ int main (int argc, char** argv)
|
||||
ripple::sha512_deprecatedMSVCWorkaround();
|
||||
#endif
|
||||
|
||||
#if defined(__GNUC__) && !defined(__clang__)
|
||||
auto constexpr gccver = (__GNUC__ * 100 * 100) +
|
||||
(__GNUC_MINOR__ * 100) +
|
||||
__GNUC_PATCHLEVEL__;
|
||||
|
||||
static_assert (gccver >= 50100,
|
||||
"GCC version 5.1.0 or later is required to compile rippled.");
|
||||
#endif
|
||||
|
||||
atexit(&google::protobuf::ShutdownProtobufLibrary);
|
||||
|
||||
auto const result (ripple::run (argc, argv));
|
||||
|
||||
Reference in New Issue
Block a user