diff --git a/flang/include/flang/Common/idioms.h b/flang/include/flang/Common/idioms.h --- a/flang/include/flang/Common/idioms.h +++ b/flang/include/flang/Common/idioms.h @@ -13,16 +13,6 @@ // or that is too weird or too specific to the host C++ compiler to be // exposed elsewhere. -#ifndef __cplusplus -#error this is a C++ program -#endif -#if __cplusplus < 201703L -#error this is a C++17 program -#endif -#if !__clang__ && defined __GNUC__ && __GNUC__ < 7 -#error g++ >= 7.2 is required -#endif - #include #include #include