From f3b28c5c74530e3aaf917ebe7e9dcfb36aa1c01a Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Sat, 15 Aug 2020 09:28:51 -0400 Subject: [PATCH] Remove configure --enable-prec11-final --- configure.ac | 28 +++------------------------- include/verilatedos.h | 8 +------- 2 files changed, 4 insertions(+), 32 deletions(-) diff --git a/configure.ac b/configure.ac index 71e04d27e..e0c7b9983 100644 --- a/configure.ac +++ b/configure.ac @@ -113,22 +113,6 @@ AC_ARG_ENABLE([longtests], AC_SUBST(CFG_WITH_LONGTESTS) AC_MSG_RESULT($CFG_WITH_LONGTESTS) -# CFG_WITH_PREC11 -AC_MSG_CHECKING(whether allow pre-C++11) -AC_ARG_ENABLE([prec11-final], - [AS_HELP_STRING([--enable-prec11-final], - [enable pre-C++11 compilers for Verilator binary - and Verilated makefiles])], - [case "${enableval}" in - yes) CFG_WITH_PREC11=yes ;; - no) CFG_WITH_PREC11=no ;; - *) AC_MSG_ERROR([bad value ${enableval} for --enable-prec11-final]) ;; - esac], - [CFG_WITH_PREC11=no;] - ) -AC_SUBST(CFG_WITH_PREC11) -AC_MSG_RESULT($CFG_WITH_PREC11) - # Compiler flags (ensure they are not empty to avoid configure defaults) CFLAGS+=" " CPPFLAGS+=" " @@ -430,17 +414,11 @@ CXXFLAGS="$ACO_SAVE_CXXFLAGS" # Check compiler flag if test "$CFG_WITH_THREADED" = "no" ; then - if test "$CFG_WITH_PREC11" = "no" ; then - AC_MSG_NOTICE([[]]) - AC_MSG_ERROR([[the $CXX compiler appears to not support C++11. + AC_MSG_NOTICE([[]]) + AC_MSG_ERROR([[the $CXX compiler appears to not support C++11. -Verilator will require a C++11 or newer compiler for all releases starting -September 2020. Please investigate a C++11 build environment now so you -will be ready. Until then you may rerun configure with the ---enable-prec11-final argument to enable reduced functionality with such -older compilers. Thanks.]]) +Verilator requires a C++11 or newer compiler.]]) - fi fi # Checks for library functions. diff --git a/include/verilatedos.h b/include/verilatedos.h index 027276558..99cc42240 100644 --- a/include/verilatedos.h +++ b/include/verilatedos.h @@ -201,13 +201,7 @@ # define VL_MUTABLE mutable # define VL_OVERRIDE override #else -# define VL_EQ_DELETE -# define vl_unique_ptr std::auto_ptr -# define VL_INCLUDE_UNORDERED_MAP "verilated_unordered_set_map.h" -# define VL_INCLUDE_UNORDERED_SET "verilated_unordered_set_map.h" -# define VL_FINAL -# define VL_MUTABLE -# define VL_OVERRIDE +# error "Verilator requires a C++11 or newer compiler" #endif //=========================================================================