NetSpirit via fpc-devel
2021-05-20 08:07:50 UTC
Answer for my previous message
(https://lists.freepascal.org/pipermail/fpc-devel/2021-January/043512.html).
Memory leak happens when unit 'rtl\win32\sysinitpas.pp' compiled with
"-O2" or higher.
To eliminate this bug add "-O-" or "-OoNOREGVAR" to command-line when
compile this unit. This disables optimizations when enabled in 'fpc.cfg',
e.g:
%FPC_COMMAND% -O- -Mobjfpc win32\sysinitpas.pp
or
%FPC_COMMAND% -OoNOREGVAR -Mobjfpc win32\sysinitpas.pp
_______________________________________________
fpc-devel maillist - fpc-***@lists.freepascal.org
https://lis
(https://lists.freepascal.org/pipermail/fpc-devel/2021-January/043512.html).
Memory leak happens when unit 'rtl\win32\sysinitpas.pp' compiled with
"-O2" or higher.
To eliminate this bug add "-O-" or "-OoNOREGVAR" to command-line when
compile this unit. This disables optimizations when enabled in 'fpc.cfg',
e.g:
%FPC_COMMAND% -O- -Mobjfpc win32\sysinitpas.pp
or
%FPC_COMMAND% -OoNOREGVAR -Mobjfpc win32\sysinitpas.pp
_______________________________________________
fpc-devel maillist - fpc-***@lists.freepascal.org
https://lis