comp.lang.ada
 help / color / mirror / Atom feed
From: "Frank J. Lhota" <NOSPAM.lhota.adarose@verizon.net>
Subject: Re: ADA.CALENDAR.TIME_OF problem with cygwin gcc-ada
Date: Fri, 18 Jun 2004 18:30:30 GMT
Date: 2004-06-18T18:30:30+00:00	[thread overview]
Message-ID: <axGAc.1551$z24.1074@nwrdny01.gnilink.net> (raw)
In-Reply-To: 40d31280@news.admin.ch

"Roger Blum" <roger.blum@armasuisse.ch> wrote in message
news:40d31280@news.admin.ch...
> Hi everybody,
>
> I 'd like to use the function TIME_OF in the package ADA.CALENDAR to
convert
> a date/time (string format from database "DD.MM.YYYY HH:MI:SS") to a TIME
> type in order to calculate intervals between dates etc.
> Although I call the TIME_OF function with correct input, it raises a
> CONSTRAINT ERROR (I'm using gcc-ada from cygwin).
>
> Anybody any idea what the problem is and how I can solve it?
>
> Thanks.
>
> Roger

The problem is that the Ada compiler that comes with Cygwin is seriously
flawed. The solution is to download and use the latest GNAT public release
(version 3.15p). I could not re-create the problem with this compiler.

It is a shame that the first Ada compiler distributed with Cygwin was not
better.





  reply	other threads:[~2004-06-18 18:30 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-18 16:04 ADA.CALENDAR.TIME_OF problem with cygwin gcc-ada Roger Blum
2004-06-18 18:30 ` Frank J. Lhota [this message]
2004-06-18 19:24   ` Roger Blum
2004-06-22 13:55     ` Peter Hermann
2004-06-19  2:21 ` Brian May
2004-06-19 19:14   ` Roger Blum
2004-06-19  6:15 ` Simon Wright
2004-06-19 10:51   ` Georg Bauhaus
2004-06-19 19:16     ` Roger Blum
replies disabled

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