From dd782434069db5ac48d3e0657eacd5528b490db5 Mon Sep 17 00:00:00 2001 From: Tyler Veness Date: Tue, 25 May 2021 20:52:23 -0700 Subject: [PATCH] [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. --- wpilibc/src/main/native/include/frc/Base.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/wpilibc/src/main/native/include/frc/Base.h b/wpilibc/src/main/native/include/frc/Base.h index d8e3012493..921a513532 100644 --- a/wpilibc/src/main/native/include/frc/Base.h +++ b/wpilibc/src/main/native/include/frc/Base.h @@ -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 {