Internals: Cleanup ifdef, move up not under compilver version ifdef

This commit is contained in:
Wilson Snyder 2022-08-11 17:41:43 -04:00
parent cbe1b8e266
commit 1e2219347e

View File

@ -218,6 +218,10 @@
// C++-2011
#if __cplusplus >= 201103L || defined(__GXX_EXPERIMENTAL_CXX0X__) || defined(VL_CPPCHECK)
#else
# error "Verilator requires a C++11 or newer compiler"
#endif
#ifndef VL_NO_LEGACY
// These are deprecated historical defines. We leave them in case users referenced them.
# define VL_EQ_DELETE = delete
@ -230,9 +234,6 @@
# define VL_MUTABLE mutable
# define VL_OVERRIDE override
#endif
#else
# error "Verilator requires a C++11 or newer compiler"
#endif
//=========================================================================
// C++-2017