Re: [fpc-pascal] GetEpochTime not found

2006-12-09 Thread Marc Santhoff
Am Samstag, den 09.12.2006, 10:01 +0100 schrieb Michael Van Canneyt: > > I'm stuck, what is missing here or how can I go on debugging the > > problem? > > Nothing is missing. getepochtime is present in the Sysutils unit, but is not > exposed, > as it's not cross platform. You should be using fpt

Re: [fpc-pascal] GetEpochTime not found

2006-12-09 Thread Marco van de Voort
> Marco van de Voort wrote: > >>> fpc 2.0.2. > >>> > >>> CommonTypes.pp(207,21) Error: Identifier not found "GetEpochTime" > >> http://www.freepascal.org/docs-html/rtl/oldlinux/getepochtime.html > > > > He uses FreeBSD. > > Ah right, this was apparent from the unit path. Not that I'd recommend o

Re: [fpc-pascal] GetEpochTime not found

2006-12-09 Thread Micha Nelissen
Marco van de Voort wrote: >>> fpc 2.0.2. >>> >>> CommonTypes.pp(207,21) Error: Identifier not found "GetEpochTime" >> http://www.freepascal.org/docs-html/rtl/oldlinux/getepochtime.html > > He uses FreeBSD. Ah right, this was apparent from the unit path. Micha

Re: [fpc-pascal] GetEpochTime not found

2006-12-09 Thread Michael Van Canneyt
On Sat, 9 Dec 2006, Marc Santhoff wrote: > Hi, > > I've got some funny problem here. The program compiled well with fpc up > to version 1.9.4. I haven't touched it for a while and now it fails with > fpc 2.0.2. > > The source snippet in queston is: > > function TStorable.generateID: integer;

Re: [fpc-pascal] GetEpochTime not found

2006-12-09 Thread Marco van de Voort
> > fpc 2.0.2. > > > > CommonTypes.pp(207,21) Error: Identifier not found "GetEpochTime" > > http://www.freepascal.org/docs-html/rtl/oldlinux/getepochtime.html He uses FreeBSD. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.fr

Re: [fpc-pascal] GetEpochTime not found

2006-12-09 Thread Micha Nelissen
Marc Santhoff wrote: > Hi, > > I've got some funny problem here. The program compiled well with fpc up > to version 1.9.4. I haven't touched it for a while and now it fails with > fpc 2.0.2. > > CommonTypes.pp(207,21) Error: Identifier not found "GetEpochTime" http://www.freepascal.org/docs-html

Re: [fpc-pascal] GetEpochTime not found

2006-12-09 Thread Marco van de Voort
> I've got some funny problem here. The program compiled well with fpc up > to version 1.9.4. I haven't touched it for a while and now it fails with > fpc 2.0.2. Afaik there was only a *nix implementation and that was already covered by the Unix (fp)time function, so it got cleaned up in 2.0 in th

[fpc-pascal] GetEpochTime not found

2006-12-08 Thread Marc Santhoff
Hi, I've got some funny problem here. The program compiled well with fpc up to version 1.9.4. I haven't touched it for a while and now it fails with fpc 2.0.2. The source snippet in queston is: function TStorable.generateID: integer; begin //writeln(GetEpochTime); does not work anymore result :=