mirror of
https://github.com/verilator/verilator.git
synced 2025-01-04 05:37:48 +00:00
Check for C++14 without also accepting GNU C++11 (#4865)
This commit is contained in:
parent
ce174743bb
commit
e3e5f30ba1
@ -260,7 +260,7 @@
|
|||||||
//=========================================================================
|
//=========================================================================
|
||||||
// C++-2014
|
// 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
|
#else
|
||||||
# error "Verilator requires a C++14 or newer compiler"
|
# error "Verilator requires a C++14 or newer compiler"
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user