summaryrefslogtreecommitdiff
path: root/gcc/ada/a-taside.adb
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/a-taside.adb')
-rw-r--r--gcc/ada/a-taside.adb9
1 files changed, 8 insertions, 1 deletions
diff --git a/gcc/ada/a-taside.adb b/gcc/ada/a-taside.adb
index bec7cc25c85..1bd671335b2 100644
--- a/gcc/ada/a-taside.adb
+++ b/gcc/ada/a-taside.adb
@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
--- Copyright (C) 1992-2004 Free Software Foundation, Inc. --
+-- Copyright (C) 1992-2005 Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
@@ -31,6 +31,11 @@
-- --
------------------------------------------------------------------------------
+pragma Warnings (Off);
+-- Allow withing of non-Preelaborated units in Ada 2005 mode where this
+-- package will be categorized as Preelaborate. See AI-362 for details.
+-- It is safe in the context of the run-time to violate the rules!
+
with System.Address_Image;
-- used for the function itself
@@ -49,6 +54,8 @@ with System.Task_Primitives.Operations;
with Unchecked_Conversion;
+pragma Warnings (Off);
+
package body Ada.Task_Identification is
-----------------------