[fpc-pascal] SetLength warnings - request

Marco van de Voort fpc at pascalprogramming.org
Tue Jan 1 12:31:06 CET 2019

Op 2019-01-01 om 01:55 schreef Martok:
>> The non-initialization of 'Result' has bitten me more than once in Delphi.
> Aye. But it's rather rare in Delphi and very common in FPC, so not everyone
> might have encountered it (that's how I'm justifying to myself putting it on the
> Portability List instead of starting a Common Mistakes set ;-) ).
If you never do optimized builds in Delphi it is rare. But if you do 
optimized builds and have a lot of string code, you'll encounter it 
sooner or later.

More information about the fpc-pascal mailing list