[fpc-devel] Possibly bug spotted in scanner.pas

Florian Klaempfl florian at freepascal.org
Thu Apr 7 08:45:37 CEST 2011


Am 07.04.2011 03:52, schrieb Skybuck Flying:
> 
> The code typecasts this 9 byte record towards an 8 byte qword 

This wouldn't work and cause a compiler error.

> and then
> takes the first byte from that and type casts it to a char.

The cast tconstexprint -> qword is overloaded.



More information about the fpc-devel mailing list