[fpc-pascal] the libc unit (again)

2008-02-21 Thread ik
Hello, I find more and more units and components (for Lazarus) that are using the libc unit. I find it really problematic, because it doesn't exists for all platforms and architectures, so why not markring the unit as obsolete for the next FPC release so other developers will have to work with mor

Re: [fpc-pascal] Local Time

2008-02-21 Thread Jonas Maebe
On 21 Feb 2008, at 14:22, Carsten Bager wrote: I would not expect to run in to trouble mixing real and integers when having real on both the right and left side. What do you say. http://wiki.freepascal.org/User_Changes_2.2.0#Floating_point_constants Jonas _

Re: [fpc-pascal] Local Time

2008-02-21 Thread Carsten Bager
I tried the 221 compiler. The error I reported is gone here, but there still is something fishy about it. When running the 204 program my UTC time is always updated with the correct time. But when running the 221 program the time can be behind by several minutes. I then rewrote my GetUtcTime proced

Re: [fpc-pascal] Local Time

2008-02-21 Thread Carsten Bager
I tried the 221 compiler. The error I reported is gone here, but there still is something fishy about it. When running the 204 program my UTC time is always updated with the correct time. But when running the 221 program the time can be behind by several minutes. I then rewrote my GetUtcTime proced

Re: [fpc-pascal] Local Time

2008-02-21 Thread Carsten Bager
> > On 21 Feb 2008, at 09:15, Carsten Bager wrote: > > > My problem is that I get UTC time with the 220 compiler on the Arm > > platform, when using gettime, now ---. > > If i compile my program "lt" (local time) with the 220 compiler on > > Linux 386 > > it works as I expects. > > If I compile

Re: [fpc-pascal] Local Time

2008-02-21 Thread Jonas Maebe
On 21 Feb 2008, at 09:15, Carsten Bager wrote: My problem is that I get UTC time with the 220 compiler on the Arm platform, when using gettime, now ---. If i compile my program "lt" (local time) with the 220 compiler on Linux 386 it works as I expects. If I compile it to an Arm Linux it fail

Re: [fpc-pascal] Local Time

2008-02-21 Thread Carsten Bager
> > Can you post straces? I can not run strace on my Arm9 platform. Is there another way. CarstenMed venlig hilsen Carsten Bager BEAS A/S Brørupvænget 10 DK-7650 Bøvlingbjerg Tlf. : +45 9788 5222 Fax : +45 9788 5434 www.beas.dk ___ fpc-pascal maillist

Re: [fpc-pascal] Local Time

2008-02-21 Thread Florian Klaempfl
Carsten Bager schrieb: > My problem is that I get UTC time with the 220 compiler on the Arm > platform, when using gettime, now ---. > If i compile my program "lt" (local time) with the 220 compiler on Linux 386 > it works as I expects. > If I compile it to an Arm Linux it fails but if I use the

[fpc-pascal] Local Time

2008-02-21 Thread Carsten Bager
My problem is that I get UTC time with the 220 compiler on the Arm platform, when using gettime, now ---. If i compile my program "lt" (local time) with the 220 compiler on Linux 386 it works as I expects. If I compile it to an Arm Linux it fails but if I use the 204 compiler it works. I have to us