From: Valdas J. <zm...@gm...> - 2015-04-12 15:39:32
|
Hello, I found a Bug: I'm trying to use Synaser (stable and latest) with FPC (2.6.4) but compiler aborts complaining: synaser.pas(2326,39) Error: range check error while evaluating constants synaser.pas(2336,41) Error: range check error while evaluating constants synaser.pas(2345,40) Error: range check error while evaluating constants These lines are within function "GetSerialPortNames" (Linux version) code in lines like "if FindFirst('/dev/ttyS*', $FFFFFFFF, sr) = 0 then". Function "FindFirst" accept LongInt but $FFFFFFFF is larger than that. -- Valdas Jankūnas |