diff --git a/lib/src/main/scala/dfhdl/tools/toolsCore/NVC.scala b/lib/src/main/scala/dfhdl/tools/toolsCore/NVC.scala index 280b3dc9d..df5a5c754 100644 --- a/lib/src/main/scala/dfhdl/tools/toolsCore/NVC.scala +++ b/lib/src/main/scala/dfhdl/tools/toolsCore/NVC.scala @@ -67,7 +67,7 @@ object NVC extends VHDLLinter: val warningSuppressLogger = ProcessLogger( (out: String) => println(out), // stdout - print directly (err: String) => - if (err.startsWith("** Warning: shared variable RAM must have protected type")) + if (err.matches(".*Warning: shared variable .* must have protected type")) // Start accumulating lines that belong to the warning insideWarning = true warningBuffer += err