diff options
author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-05-22 12:45:14 +0000 |
---|---|---|
committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-05-22 12:45:14 +0000 |
commit | 0388e54ec814a3d0da7ab3e89929f6f95f842773 (patch) | |
tree | b16b5d2a728ab8a0162f8e588476afbd69f54938 /gcc/ada/prj-conf.adb | |
parent | 116afa8e14569ca77eede86685eb4817593b230b (diff) | |
download | gcc-0388e54ec814a3d0da7ab3e89929f6f95f842773.tar.gz |
2015-05-22 Robert Dewar <dewar@adacore.com>
* sem_ch12.adb, prj.ads, makeutl.ads, sem_ch6.adb, prj-nmsc.adb,
prj-conf.adb, sem_disp.adb: Minor reformatting.
2015-05-22 Vincent Celier <celier@adacore.com>
* clean.adb (Parse_Cmd_Line): For native gnatclean, check
for switch -P and, if found and gprclean is available, invoke
silently gprclean.
* make.adb (Initialize): For native gnatmake, check for switch -P
and, if found and gprbuild is available, invoke silently gprbuild.
2015-05-22 Eric Botcazou <ebotcazou@adacore.com>
* sem_ch13.adb (Validate_Unchecked_Conversions): Also issue
specific warning for discrete types when the source is larger
than the target.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@223555 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/prj-conf.adb')
-rw-r--r-- | gcc/ada/prj-conf.adb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/ada/prj-conf.adb b/gcc/ada/prj-conf.adb index 8c55f2a515b..e48b7fba016 100644 --- a/gcc/ada/prj-conf.adb +++ b/gcc/ada/prj-conf.adb @@ -973,7 +973,7 @@ package body Prj.Conf is Add_Str_To_Name_Buffer (Build_Tree_Dir.all); if Get_Name_String (Conf_Project.Directory.Display_Name)'Length - < Root_Dir'Length + < Root_Dir'Length then Raise_Invalid_Config ("cannot relocate deeper than object directory"); @@ -994,8 +994,8 @@ package body Prj.Conf is else if Build_Tree_Dir /= null then if Get_Name_String - (Conf_Project.Directory.Display_Name)'Length - < Root_Dir'Length + (Conf_Project.Directory.Display_Name)'Length < + Root_Dir'Length then Raise_Invalid_Config ("cannot relocate deeper than object directory"); |