Skip to content

Commit 295c20a

Browse files
BoulangerAdrienBoulanger
authored andcommitted
Ignore new GNAT Warning
For eng/ide/gnatstudio#572
1 parent f4fc045 commit 295c20a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

source/ada/lsp-ada_documents.adb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,10 @@ with LSP.Formatters.Texts;
5555
with LSP.GNATFormat_Utils;
5656
with LSP.Predicates;
5757
with LSP.Structures.LSPAny_Vectors;
58+
pragma Warnings
59+
(Off, "child unit * hides compilation unit with the same name");
5860
with LSP.Utils;
61+
pragma Warnings (On, "child unit * hides compilation unit with the same name");
5962

6063
package body LSP.Ada_Documents is
6164
pragma Warnings (Off);

0 commit comments

Comments
 (0)