[fpc-pascal] Over-zealous Warning about dynamic string initialization
skalogryz.lists at gmail.com
Fri Nov 1 22:05:17 CET 2013
On Fri, Nov 1, 2013 at 1:08 PM, Michael Van Canneyt
<michael at freepascal.org>wrote:
> I recommend against it.
> It can bite you in the leg, it has bitten me in the leg several times.
> For instance the result identifier for functions returning ansistring is
> particularly tricky.
I'm wondering if it's a question about global vs local variables warning:
The warning is true for local vars and indeed it bites! (bites good when
porting delphi to fpc), but should not be a problem for global vars (as in
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-pascal