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:
Thad House
2017-12-08 22:48:01 -08:00
committed by Peter Johnson
parent aa4f0ef4f8
commit f615e68a43

View File

@@ -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