-- --
-- B o d y --
-- --
--- $Revision: 1.14 $
--- --
--- Copyright (C) 1992-1999 Free Software Foundation, Inc. --
+-- Copyright (C) 1992-2002 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- --
-- covered by the GNU Public License. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
--- It is now maintained by Ada Core Technologies Inc (http://www.gnat.com). --
+-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------
if Format = Packed_Unsigned then
return Item (Item'Last) = 16#F#;
-
-- For signed, accept all standard and non-standard signs
else
-- Note that the tests here are all compile time tests
function Length (Format : Binary_Format) return Natural is
+ pragma Warnings (Off, Format);
+
begin
if Num'Digits <= 2 then
return 1;
(Format : Packed_Format)
return Natural
is
+ pragma Warnings (Off, Format);
+
begin
case Packed_Representation is
when IBM =>
return Boolean
is
Val : Num;
+ pragma Unreferenced (Val);
begin
Val := To_Decimal (Item, Format);