Check if Verific was built with DB_PRESERVE_INITIAL_VALUE
authorClifford Wolf <clifford@clifford.at>
Sun, 24 Feb 2019 18:51:30 +0000 (19:51 +0100)
committerClifford Wolf <clifford@clifford.at>
Sun, 24 Feb 2019 18:51:30 +0000 (19:51 +0100)
Signed-off-by: Clifford Wolf <clifford@clifford.at>
frontends/verific/verific.cc

index 94138cdd67f77dafdc0fd0547d554198b525d8b7..8ee951d2023b2a59bcbb76ba3d9cf48dfcd6835a 100644 (file)
@@ -1920,6 +1920,10 @@ struct VerificPass : public Pass {
                        // WARNING: instantiating unknown module 'XYZ' (VERI-1063)
                        Message::SetMessageType("VERI-1063", VERIFIC_ERROR);
 
+#ifndef DB_PRESERVE_INITIAL_VALUE
+#  warning Verific was built without DB_PRESERVE_INITIAL_VALUE.
+#endif
+
                        set_verific_global_flags = false;
                }