diff options
author | Vincent Celier <celier@adacore.com> | 2005-03-29 18:19:00 +0200 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2005-03-29 18:19:00 +0200 |
commit | 73e69194b512e909a964bd389904b520658490cc (patch) | |
tree | de171fc8e6de4c20e3d0aac7430212e745494534 /gcc/ada | |
parent | c8b0c2607645dbb8a8b034da5dd06342a421c559 (diff) | |
download | gcc-73e69194b512e909a964bd389904b520658490cc.zip gcc-73e69194b512e909a964bd389904b520658490cc.tar.gz gcc-73e69194b512e909a964bd389904b520658490cc.tar.bz2 |
prj-nmsc.adb (Check_Stand_Alone_Library): Do not forbid the symbol file and the reference symbol file to be the same file.
2005-03-29 Vincent Celier <celier@adacore.com>
* prj-nmsc.adb (Check_Stand_Alone_Library): Do not forbid the symbol
file and the reference symbol file to be the same file.
From-SVN: r97181
Diffstat (limited to 'gcc/ada')
-rw-r--r-- | gcc/ada/prj-nmsc.adb | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/gcc/ada/prj-nmsc.adb b/gcc/ada/prj-nmsc.adb index 6c814a9..fcdaf67 100644 --- a/gcc/ada/prj-nmsc.adb +++ b/gcc/ada/prj-nmsc.adb @@ -2466,32 +2466,6 @@ package body Prj.Nmsc is Lib_Ref_Symbol_File.Location); end if; - -- Check that the reference symbol file and the symbol file - -- are not the same file. - - if Data.Symbol_Data.Symbol_File /= No_Name then - declare - Symbol : String := - Get_Name_String - (Data.Symbol_Data.Symbol_File); - - Reference : String := - Get_Name_String - (Data.Symbol_Data.Reference); - - begin - Canonical_Case_File_Name (Symbol); - Canonical_Case_File_Name (Reference); - - if Symbol = Reference then - Error_Msg - (Project, In_Tree, - "reference symbol file and symbol file " & - "cannot be the same file", - Lib_Ref_Symbol_File.Location); - end if; - end; - end if; end if; end if; end if; |