Check for C++14 without also accepting GNU C++11 (#4865)

This commit is contained in:
Wilson Snyder 2024-01-28 19:42:29 -05:00 committed by GitHub
parent ce174743bb
commit e3e5f30ba1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -260,7 +260,7 @@
//=========================================================================
// C++-2014
#if __cplusplus >= 201402L || defined(__GXX_EXPERIMENTAL_CXX0X__) || defined(VL_CPPCHECK) || defined(_MSC_VER)
#if __cplusplus >= 201402L || defined(VL_CPPCHECK) || defined(_MSC_VER)
#else
# error "Verilator requires a C++14 or newer compiler"
#endif