[fpc-devel] Const optimization is a serious bug

Martin fpc at mfriebe.de
Thu Jul 7 16:48:41 CEST 2011


On 07/07/2011 16:14, Hans-Peter Diettrich wrote:
> Martin schrieb:
>
>> The original example ( a bug on mantis) had little strangeness. A 
>> global variable being modified in an OnChange handler of a TEdit.
>> This could very, very easily happen.
>
> One of the reasons why *global variables* should be avoided.
maybe it was a field on an object. Same problem



More information about the fpc-devel mailing list