From: Vincent Celier Date: Wed, 20 Aug 2008 14:28:36 +0000 (+0200) Subject: prj-nmsc.adb (Check_File): An excluded Ada source file may be a source of another... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1af8deae35470018009bc7fad2aa46b858a89d83;p=gcc.git 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 --- 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,