Marco van de Voort schrieb:
PChars, on the other hand, require manual memory management
which is the source of bugs.
Point out the example of bugs. (ones that matter, not the stylistic ones)
The usage of PString essentially is using an crippled AnsiString,
without reference counting. I did not yet find any (obvious) bugs, but
several flaws where ShortStrings are allocated, copied and disposed for
no reason. See pmodules.try_consume_hintdirective.
DoDi
_______________________________________________
fpc-devel maillist - [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel