mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-24 01:31:46 +00:00
Require GCC 5 for wpilib build (#820)
Will help in season with teams not upgrading their GCC. Will have a better error message.
This commit is contained in:
committed by
Peter Johnson
parent
aa4f0ef4f8
commit
f615e68a43
@@ -7,6 +7,12 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#if !defined(__clang__) && defined(__GNUC__) && __GNUC__ < 5
|
||||
static_assert(0,
|
||||
"GCC must be 5 or greater. If building for the roboRIO, please "
|
||||
"update to the 2018 toolchains.");
|
||||
#endif
|
||||
|
||||
#include <HAL/cpp/make_unique.h>
|
||||
|
||||
// MSVC 2013 doesn't allow "= default" on move constructors, but since we are
|
||||
|
||||
Reference in New Issue
Block a user