diff options
author | Tristan Gingold <tgingold@free.fr> | 2021-05-30 18:23:33 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2021-05-30 18:23:33 +0200 |
commit | 54a18dda071449e80982da9e31be4685da30f0ed (patch) | |
tree | 9c50bbba4b8e25eba8d40777b89d21ed7a53a1b0 /src | |
parent | 5885c15733efd56a0254b3735deceadf26f7d5d2 (diff) | |
download | ghdl-54a18dda071449e80982da9e31be4685da30f0ed.tar.gz ghdl-54a18dda071449e80982da9e31be4685da30f0ed.tar.bz2 ghdl-54a18dda071449e80982da9e31be4685da30f0ed.zip |
Fix warnings from gnatgpl 2021
Diffstat (limited to 'src')
-rw-r--r-- | src/ghdldrv/ghdlmain.ads | 2 | ||||
-rw-r--r-- | src/vhdl/vhdl-formatters.adb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/ghdldrv/ghdlmain.ads b/src/ghdldrv/ghdlmain.ads index e25cebea5..f66372d71 100644 --- a/src/ghdldrv/ghdlmain.ads +++ b/src/ghdldrv/ghdlmain.ads @@ -17,7 +17,7 @@ with GNAT.OS_Lib; use GNAT.OS_Lib; with Options; use Options; package Ghdlmain is - type Command_Type; + type Command_Type is tagged; type Command_Acc is access all Command_Type'Class; diff --git a/src/vhdl/vhdl-formatters.adb b/src/vhdl/vhdl-formatters.adb index 89c692c96..9e870ddc2 100644 --- a/src/vhdl/vhdl-formatters.adb +++ b/src/vhdl/vhdl-formatters.adb @@ -433,7 +433,7 @@ package body Vhdl.Formatters is end Close_Lit; end Format_Disp_Ctxt; - procedure Reindent (Ctxt : in out Format_Disp_Ctxt.Format_Ctxt; + procedure Reindent (Ctxt : Format_Disp_Ctxt.Format_Ctxt; Respace : Boolean := False) is use Format_Disp_Ctxt; |