Re: [fpc-pascal] fpGetTimeOfDay

2015-03-09 Thread Marco van de Voort
In our previous episode, Mark Morgan Lloyd said: > > If either tv or tz is NULL, the corresponding structure is not set or > >returned. (However, compilation warnings will result if tv is NULL.) > > The funny thing is that the snippet of code that I'm using was > contributed by you,

Re: [fpc-pascal] fpGetTimeOfDay

2015-03-09 Thread Mark Morgan Lloyd
Marco van de Voort wrote: In our previous episode, Mark Morgan Lloyd said: Are there any known issues with this sort of thing fpGetTimeOfDay (@TimeVal, nil) on various platforms? FPC 2.6.4 and 2.7.1 seem to be OK on x86, but on x64 (and FWIW SPARC, haven't tested others) it appears to be ret

Re: [fpc-pascal] fpGetTimeOfDay

2015-03-09 Thread Henry Vermaak
On Mon, Mar 09, 2015 at 01:30:28PM +0100, Marco van de Voort wrote: > In our previous episode, Mark Morgan Lloyd said: > > Are there any known issues with this sort of thing fpGetTimeOfDay > > (@TimeVal, nil) on various platforms? FPC 2.6.4 and 2.7.1 seem to be OK > > on x86, but on x64 (and FW

Re: [fpc-pascal] fpGetTimeOfDay

2015-03-09 Thread Marco van de Voort
In our previous episode, Mark Morgan Lloyd said: > Are there any known issues with this sort of thing fpGetTimeOfDay > (@TimeVal, nil) on various platforms? FPC 2.6.4 and 2.7.1 seem to be OK > on x86, but on x64 (and FWIW SPARC, haven't tested others) it appears to > be returning a fixed TimeV

[fpc-pascal] fpGetTimeOfDay

2015-03-09 Thread Mark Morgan Lloyd
Are there any known issues with this sort of thing fpGetTimeOfDay (@TimeVal, nil) on various platforms? FPC 2.6.4 and 2.7.1 seem to be OK on x86, but on x64 (and FWIW SPARC, haven't tested others) it appears to be returning a fixed TimeVal plus a result of zero even if there are several secon