[fpc-devel] Const optimization is a serious bug

Hans-Peter Diettrich DrDiettrich1 at aol.com
Thu Jul 7 17:14:25 CEST 2011


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.

DoDi




More information about the fpc-devel mailing list