[fpc-devel] Typed addresses by default

Jonas Maebe jonas.maebe at elis.ugent.be
Thu Oct 5 17:29:06 CEST 2006


On 5 okt 2006, at 17:23, Micha Nelissen wrote:

> Jonas Maebe wrote:
>> On 5 okt 2006, at 15:41, Jonas Maebe wrote:
>>> Or that the code in the typeinfo unit is now broken.
>> typinfo unit is fixed. But there may be other similar problems  
>> elsewhere. I would advise to make {$t-} the default again, because  
>> this sort of hidden errors is hard to find unless you go over all  
>> @-statements in your program.
>
> I will try to reread my patch with this info in mind.

The problem is that this is something you did not patch, because it  
did not trigger a compiler error. You would have to go over all @- 
statements in the compiler, rtl, packages, fcl, lcl, lazarus, ... if  
you want to be sure that nothing got broken. And our users have to do  
the same with their own programs.

That's why I think it's better to not change the default {$t}  
setting, since it can introduce hidden bugs.


Jonas



More information about the fpc-devel mailing list