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 := sysutils.GetEpochTime(); // does not work either
//result := fpTime; // this works!
end;

As you can see I've tried prefixing with the correct unit specifier but
it fails:

CommonTypes.pp(207,21) Error: Identifier not found "GetEpochTime"

Checking the source and even grep'ping and strings'ing sysutils.ppu and
sysutils.o the function GetEpochTime is there:

$ grep GetEpochTime 
/home/marc/fpc-2.0.2/lib/fpc/2.0.2/units/i386-freebsd/rtl/sysutils.ppu
Binary file 
/home/marc/fpc-2.0.2/lib/fpc/2.0.2/units/i386-freebsd/rtl/sysutils.ppu matches

But the compiler doesn't find it:

from fpc ... -vt
...
PPU Loading 
/home/marc/fpc-2.0.2/lib/fpc/2.0.2/units/i386-freebsd/rtl/sysutils.ppu
...

I'm stuck, what is missing here or how can I go on debugging the
problem?

TIA,
Marc


_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to