comp.lang.ada
 help / color / mirror / Atom feed
From: "Roger Blum" <roger_blum@swissonline.ch>
Subject: Re: ADA.CALENDAR.TIME_OF problem with cygwin gcc-ada
Date: Fri, 18 Jun 2004 21:24:42 +0200
Date: 2004-06-18T21:24:42+02:00	[thread overview]
Message-ID: <40d34178$0$26645$5402220f@news.sunrise.ch> (raw)
In-Reply-To: axGAc.1551$z24.1074@nwrdny01.gnilink.net

Hi Frank,

Thanks for your reply.

I 've used GNAT 3.15p before. I was urged to change to cygwin Ada because I
have to link my project with some c++ libraries, which isn't supported by
GNAT 3.15p (means I haven't found a way to do it).

I suppose I have to write my own calendar package to do the date
calculations.


"Frank J. Lhota" <NOSPAM.lhota.adarose@verizon.net> schrieb im Newsbeitrag
news:axGAc.1551$z24.1074@nwrdny01.gnilink.net...
> "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 19:24 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
2004-06-18 19:24   ` Roger Blum [this message]
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