On Jul 20, 2012, at 11:42 AM, Clinton Shane Wright wrote:

> To whom it may concern,
>
> Please can you assist me. I have installed Lazarus IDE in Ubuntu  
> 10.04 and I get this message when I try to compile my application  
> with synaser included inthe libraries of my project.
>
> synaser.pas(1902,58) Error: Incompatible types: got "ShortInt"  
> expected "Pointer"
> synaser.pas(2278,41) Warning: range check error while evaluating  
> constants (4294967295 must be between -2147483648 and 2147483647)
> synaser.pas(2281,36) Hint: Mixing signed expressions and longwords  
> gives a 64bit result
> synaser.pas(2299) Fatal: There were 1 errors compiling module,  
> stopping
>
> I have found some results on google about this error but without any  
> solutions. I am using the following Free Pascal compiler and Lazarus  
> IDE:
>
> Free Pascal Compiler 2.7.1
>
> Lazarus: 1.1

I believe that I once ran into this issue with an earlier version of  
Lazarus and IIRC you might want to try setting the mode of your  
program to Delphi ...

{$mode delphi}

Hope this helps.
Dave H.





------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to