mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-25 01:41:43 +00:00
[wpilibc] Remove C++ compiler version static asserts (#3386)
frc/Base.h isn't the first header included basically anywhere, so the compiler will fail on C++17 things before the asserts in this header are processed.
This commit is contained in:
@@ -4,16 +4,6 @@
|
||||
|
||||
#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
|
||||
|
||||
#if defined(_MSC_VER) && _MSC_VER < 1900
|
||||
static_assert(0, "Visual Studio 2015 or greater required.");
|
||||
#endif
|
||||
|
||||
/** WPILib FRC namespace */
|
||||
namespace frc {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user