Commit d153b458 by Arnaud Charlet

bindgen.adb: Update comments.

	* bindgen.adb: Update comments.

	* s-tasinf-mingw.adb: Add "with" of System.OS_Interface

From-SVN: r136007
parent 0f99f391
...@@ -3260,14 +3260,17 @@ package body Bindgen is ...@@ -3260,14 +3260,17 @@ package body Bindgen is
for E in Elab_Order.First .. Elab_Order.Last loop for E in Elab_Order.First .. Elab_Order.Last loop
Get_Name_String (Units.Table (Elab_Order.Table (E)).Uname); Get_Name_String (Units.Table (Elab_Order.Table (E)).Uname);
-- The procedure of looking for specific packages and setting -- This is not a perfect approach, but is the current protocol
-- flags is somewhat dubious, but there isn't a good alternative -- between the run-time and the binder to indicate that tasking
-- at the current time ??? -- is used: system.os_interface should always be used by any
-- tasking application.
if Name_Buffer (1 .. 19) = "system.os_interface" then if Name_Buffer (1 .. 19) = "system.os_interface" then
With_GNARL := True; With_GNARL := True;
end if; end if;
-- Ditto for declib and the "dec" package
if OpenVMS_On_Target and then Name_Buffer (1 .. 5) = "dec%s" then if OpenVMS_On_Target and then Name_Buffer (1 .. 5) = "dec%s" then
With_DECGNAT := True; With_DECGNAT := True;
end if; end if;
......
...@@ -33,6 +33,12 @@ ...@@ -33,6 +33,12 @@
-- This is the Windows (native) version of this module -- This is the Windows (native) version of this module
with System.OS_Interface;
pragma Unreferenced (System.OS_Interface);
-- System.OS_Interface is not used today, but the protocol between the
-- run-time and the binder is that any tasking application uses
-- System.OS_Interface, so notify the binder with this "with" clause.
package body System.Task_Info is package body System.Task_Info is
N_CPU : Natural := 0; N_CPU : Natural := 0;
......
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