comp.lang.ada
 help / color / mirror / Atom feed
From: Stephen Leake <stephen_leake@stephe-leake.org>
Subject: Re: Ada.Text_IO.Fixed_IO - strange prefix in output
Date: Wed, 20 Aug 2008 07:48:55 -0400
Date: 2008-08-20T07:48:55-04:00	[thread overview]
Message-ID: <uhc9f6h5k.fsf@stephe-leake.org> (raw)
In-Reply-To: 3327cf9b-77ee-4fda-be11-603a53f47ff7@m73g2000hsh.googlegroups.com

Maciej Sobczak <see.my.homepage@gmail.com> writes:

> Consider:
>
> with Ada.Text_IO;
> with Ada.Calendar;
>
> procedure A is
>
>    package Duration_IO is new
>      Ada.Text_IO.Fixed_IO (Ada.Calendar.Day_Duration);
>
>    D : Ada.Calendar.Day_Duration := 0.0;
>
> begin
>    Duration_IO.Put (D);
> end A;
>
> The above program produces the following output:
>
> N = 1
>      0.000000000
>
> I use GNAT 3.4.6 (yes, that old). Was this a compiler/runtime bug?

Yes, they delivered the runtime with "debug" pragmas enabled. You can
recompile the runtime.

-- 
-- Stephe



      reply	other threads:[~2008-08-20 11:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-19 15:03 Ada.Text_IO.Fixed_IO - strange prefix in output Maciej Sobczak
2008-08-20 11:48 ` Stephen Leake [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox