[fpc-pascal]Trouble with type conversion FPC 1.03

Dirk Verwiebe dirk at verwiebe.de
Mon Dec 11 09:15:54 CET 2000


Hello,

since the 8.12.2000 i have some trouble with the compiler from the fixes
branch(1.03).DOS Go32V2.

The snaphots from 07.12.2000 are o.k.

I get warning and error messages like that:
gxhw_s3.pp(697,37) Hint: Mixing signed expressions and cardinals results
in a (slower) 64bit evaluation
gxhw_s3.pp(697,18) Error: Illegal type conversion
gxhw_s3.pp(713,47) Hint: Mixing signed expressions and cardinals results
in a (slower) 64bit evaluation
gxhw_s3.pp(713,19) Error: Illegal type conversion



TYPE PPattern=^TPattern;
     TPattern=array[0..7] of byte;
VGABase,LFBBase:dword;
x,y:longint;
p:dword;
bytperpix : word;
pattern:ppattern;


Line
697: byte(pointer(LFBbase+p+x*bytperpix)^):=(pattern^[y] SHR x) AND 1;

713: byte(pointer(VGAbase+((dword(p)+x*bytperpix) AND
$FFFF))^):=(pattern^[y] SHR x) AND 1;

gxhw_s3.pp  is a unit from Michael KnappĀ“s Graphix library.


regards

Dirk Verwiebe





More information about the fpc-pascal mailing list