aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/synth-vhdl_environment.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2022-06-07 04:03:56 +0200
committerTristan Gingold <tgingold@free.fr>2022-06-07 04:03:56 +0200
commit177546b2cbb41f4a835025631187fb4dcf0c896e (patch)
tree39c937f65d5156c4d9ee7ba542a4ba108548f81c /src/synth/synth-vhdl_environment.adb
parent65544a635f3588dfdeed8d0ffc4a7ea4d65511cd (diff)
downloadghdl-177546b2cbb41f4a835025631187fb4dcf0c896e.tar.gz
ghdl-177546b2cbb41f4a835025631187fb4dcf0c896e.tar.bz2
ghdl-177546b2cbb41f4a835025631187fb4dcf0c896e.zip
errorout: add nowrite warning. Fix #2081
During synthesis, emit a specific warning if a net is not assigned
Diffstat (limited to 'src/synth/synth-vhdl_environment.adb')
-rw-r--r--src/synth/synth-vhdl_environment.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/synth/synth-vhdl_environment.adb b/src/synth/synth-vhdl_environment.adb
index e86cd7a7c..7e726993c 100644
--- a/src/synth/synth-vhdl_environment.adb
+++ b/src/synth/synth-vhdl_environment.adb
@@ -50,7 +50,7 @@ package body Synth.Vhdl_Environment is
begin
if Last_Off < First_Off then
Warning_Msg_Synth
- (+Decl.Obj, "no assignment for %n", +Decl.Obj);
+ (Warnid_Nowrite, +Decl.Obj, "no assignment for %n", +Decl.Obj);
elsif Last_Off = First_Off then
Warning_Msg_Synth (+Decl.Obj, "no assignment for offset %v of %n",
(1 => +First_Off, 2 => +Decl.Obj));