[fpc-devel] {$mode tp} compatibility issue

Marco van de Voort marcov at stack.nl
Tue Jun 5 14:55:07 CEST 2018


In our previous episode, Klaus Hartnegg said:
> 
> Could FreePascal check that variables like "mytype = (a,b,c)" have size 
> 1 before using them in {$mode tp}? Otherwise they should be flaged as 
> incompatible type, to prevent such surprises.

Not really, better edit your project to make sure that everything is forced
TP if you work exclusively in TP mode.



More information about the fpc-devel mailing list