From 763f621d4c48da181f555a9ff3ae445a1751c3b9 Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Sun, 5 Apr 2020 16:45:53 -0400 Subject: [PATCH] Deprecate VL_ULL. --- include/verilatedos.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/verilatedos.h b/include/verilatedos.h index 4052c3009..7acc92183 100644 --- a/include/verilatedos.h +++ b/include/verilatedos.h @@ -140,7 +140,10 @@ #define VL_MT_UNSAFE_ONE ///< Comment tag that function is not threadsafe when VL_THREADED, protected to make sure single-caller #ifdef _MSC_VER -# define VL_ULL(c) (c##ui64) ///< Add appropriate suffix to 64-bit constant +# define VL_ULL(c) (c##ULL) ///< Add appropriate suffix to 64-bit constant +// Was "(c##ui64)". C++11 has standardized on ULL, and MSVC now supports this. +// We propose to no longer require using this macro no sooner than June 2020. +// File an issue ASAP if this breaks anything. #else # define VL_ULL(c) (c##ULL) ///< Add appropriate suffix to 64-bit constant #endif