From 11043aeb9b8a778f1cdabf4b4fc8249ead6700ae Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Fri, 3 Feb 2023 19:01:20 -0500 Subject: [PATCH] Work around mswin crash with --std (#3933) --- src/V3Options.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/V3Options.h b/src/V3Options.h index 55cdac36a..4c6272b3d 100644 --- a/src/V3Options.h +++ b/src/V3Options.h @@ -267,7 +267,11 @@ private: bool m_relativeIncludes = false; // main switch: --relative-includes bool m_reportUnoptflat = false; // main switch: --report-unoptflat bool m_savable = false; // main switch: --savable +#ifdef _MSC_VER + bool m_std = false; // main switch: --std +#else bool m_std = true; // main switch: --std +#endif bool m_structsPacked = false; // main switch: --structs-packed bool m_systemC = false; // main switch: --sc: System C instead of simple C++ bool m_stats = false; // main switch: --stats