summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Rupp <rupp@adacore.com>2005-02-10 14:49:28 +0100
committerArnaud Charlet <charlet@gcc.gnu.org>2005-02-10 14:49:28 +0100
commit125d500f84d3016120703bf72b6eda6b3f7e51c6 (patch)
tree6a3595af924642fd4f605a4e0edb3c47d588e186
parent70ad376e2f4f6cc950fb543f87e96e42d40c72d9 (diff)
downloadgcc-125d500f84d3016120703bf72b6eda6b3f7e51c6.tar.gz
s-tpopde-vms.adb: Add pragma Warnings (Off) for Task_Id conversions.
2005-02-09 Doug Rupp <rupp@adacore.com> * s-tpopde-vms.adb: Add pragma Warnings (Off) for Task_Id conversions. From-SVN: r94808
-rw-r--r--gcc/ada/s-tpopde-vms.adb7
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ada/s-tpopde-vms.adb b/gcc/ada/s-tpopde-vms.adb
index 5fa9a92e21d..c492c1b4cf9 100644
--- a/gcc/ada/s-tpopde-vms.adb
+++ b/gcc/ada/s-tpopde-vms.adb
@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
--- Copyright (C) 2000-2004 Free Software Foundation, Inc. --
+-- Copyright (C) 2000-2005 Free Software Foundation, Inc. --
-- --
-- GNARL 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- --
@@ -69,12 +69,17 @@ package body System.Task_Primitives.Operations.DEC is
-- Local Subprograms --
-----------------------
+ pragma Warnings (Off);
+ -- Task_Id is 64 bits wide (but only 32 bits significant) on Integrity/VMS
+
function To_Unsigned_Longword is new
Unchecked_Conversion (Task_Id, Unsigned_Longword);
function To_Task_Id is new
Unchecked_Conversion (Unsigned_Longword, Task_Id);
+ pragma Warnings (On);
+
function To_FAB_RAB is new
Unchecked_Conversion (Address, FAB_RAB_Access_Type);