Commit 00109226 by Robert Dewar Committed by Arnaud Charlet

ali-util.adb, [...]: Remove references to Force_RM_Elaboration_Order.

2005-06-14  Robert Dewar  <dewar@adacore.com>

	* ali-util.adb, gnatbind.adb: Remove references to
	Force_RM_Elaboration_Order.

	* switch-b.adb: Remove recognition of -f switch

From-SVN: r101022
parent a3a95769
...@@ -271,7 +271,7 @@ package body ALI.Util is ...@@ -271,7 +271,7 @@ package body ALI.Util is
Scan_ALI Scan_ALI
(F => Afile, (F => Afile,
T => Text, T => Text,
Ignore_ED => Force_RM_Elaboration_Order, Ignore_ED => False,
Err => False); Err => False);
Free (Text); Free (Text);
......
...@@ -539,7 +539,7 @@ begin ...@@ -539,7 +539,7 @@ begin
Id := Scan_ALI Id := Scan_ALI
(F => Main_Lib_File, (F => Main_Lib_File,
T => Text, T => Text,
Ignore_ED => Force_RM_Elaboration_Order, Ignore_ED => False,
Err => False, Err => False,
Ignore_Errors => Debug_Flag_I); Ignore_Errors => Debug_Flag_I);
end; end;
...@@ -584,7 +584,7 @@ begin ...@@ -584,7 +584,7 @@ begin
Scan_ALI Scan_ALI
(F => Std_Lib_File, (F => Std_Lib_File,
T => Text, T => Text,
Ignore_ED => Force_RM_Elaboration_Order, Ignore_ED => False,
Err => False, Err => False,
Ignore_Errors => Debug_Flag_I); Ignore_Errors => Debug_Flag_I);
end; end;
...@@ -598,17 +598,6 @@ begin ...@@ -598,17 +598,6 @@ begin
Read_ALI (Index); Read_ALI (Index);
end loop; end loop;
-- Warn if -f switch used
if Force_RM_Elaboration_Order then
Error_Msg
("?-f is obsolescent and should not be used");
Error_Msg
("?may result in missing run-time elaboration checks");
Error_Msg
("?use -gnatE, pragma Suppress (Elaboration_Check) instead");
end if;
-- Quit if some file needs compiling -- Quit if some file needs compiling
if No_Object_Specified then if No_Object_Specified then
......
...@@ -149,12 +149,6 @@ package body Switch.B is ...@@ -149,12 +149,6 @@ package body Switch.B is
Ptr := Ptr + 1; Ptr := Ptr + 1;
Exception_Tracebacks := True; Exception_Tracebacks := True;
-- Processing for f switch
when 'f' =>
Ptr := Ptr + 1;
Force_RM_Elaboration_Order := True;
-- Processing for F switch -- Processing for F switch
when 'F' => when 'F' =>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment