From 7b119a594fb03928c160bc448483ef1160a8116e Mon Sep 17 00:00:00 2001 From: Unai Martinez-Corral <38422348+umarcor@users.noreply.github.com> Date: Mon, 6 Dec 2021 08:15:58 -0500 Subject: [PATCH] Fix MSWIN compile error (#2681). --- Changes | 2 ++ src/V3File.cpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Changes b/Changes index 0cc1c41b2..4f1a4c165 100644 --- a/Changes +++ b/Changes @@ -13,6 +13,8 @@ Verilator 4.217 devel **Minor:** +* Fix MSWIN compile error (#2681). [Unai Martinez-Corral] + Verilator 4.216 2021-12-05 ========================== diff --git a/src/V3File.cpp b/src/V3File.cpp index 47cc857dd..19a777b26 100644 --- a/src/V3File.cpp +++ b/src/V3File.cpp @@ -335,7 +335,7 @@ class VInFilterImp final { #ifdef INFILTER_PIPE pid_t m_pid = 0; // fork() process id #else - const int m_pid = 0; // fork() process id - always zero as disabled + int m_pid = 0; // fork() process id - always zero as disabled #endif bool m_pidExited = false; int m_pidStatus = 0;