You are not logged in.
Pages: 1
Hi ab,
I'm just trying to compile Sample01 on xubuntu with latest Lazarus and mORMot (just taken from the respective repositories), but unfortunately it gives me the error: SynCommons.pas(38350,13) Error: Incompatible types: got "LongInt" expected "Boolean".
The source code looks that way:
function TSynLocker.TryLock: boolean;
begin
result := TryEnterCriticalSection(fSection);
end;
What I'm doing wrong? Thanks!
Offline
Please try http://synopse.info/fossil/info/faf35e4799
Online
It is okay now. Thanks again!
Offline
Another little annoyance, the file SynVirtualDataset.pas referred in uses clause of another unit as SynVirtualDataSet (note the difference in the 'S' character case). Since linux file names are case sensitive this caused a compile error. Passed after changing the file name with the (in)correct case. The strangest thing is that I have reverted the file name back but now I can't reproduce the error and I can't tell you the name of the referrer unit
Offline
Pages: 1