diff options
author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-02-10 13:49:28 +0000 |
---|---|---|
committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-02-10 13:49:28 +0000 |
commit | aea5949b7f1dc2ac6c465cc6e41b4499fbd3936d (patch) | |
tree | 6a3595af924642fd4f605a4e0edb3c47d588e186 | |
parent | fda708fecf0f53769f452ce92f5c2ba78bee59cf (diff) | |
download | gcc-aea5949b7f1dc2ac6c465cc6e41b4499fbd3936d.tar.gz |
2005-02-09 Doug Rupp <rupp@adacore.com>
* s-tpopde-vms.adb: Add pragma Warnings (Off) for Task_Id conversions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94808 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ada/s-tpopde-vms.adb | 7 |
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); |