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
> 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
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
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;
> > 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
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
> 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
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 :=