From 1af8deae35470018009bc7fad2aa46b858a89d83 Mon Sep 17 00:00:00 2001 From: Vincent Celier Date: Wed, 20 Aug 2008 16:28:36 +0200 Subject: [PATCH] prj-nmsc.adb (Check_File): An excluded Ada source file may be a source of another project. 2008-08-20 Vincent Celier * prj-nmsc.adb (Check_File): An excluded Ada source file may be a source of another project. From-SVN: r139309 --- gcc/ada/prj-nmsc.adb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gcc/ada/prj-nmsc.adb b/gcc/ada/prj-nmsc.adb index 6f18c81034d..cf0f4725084 100644 --- a/gcc/ada/prj-nmsc.adb +++ b/gcc/ada/prj-nmsc.adb @@ -8163,7 +8163,9 @@ package body Prj.Nmsc is then Source_To_Replace := Source; - elsif Unit /= No_Name then + elsif Unit /= No_Name + and then not Src_Data.Locally_Removed + then Error_Msg_Name_1 := Unit; Error_Msg (Project, In_Tree, -- 2.30.2