On Mon, Oct 12, 2009 at 12:43 PM, Marc Weustink <m...@dommelstein.net> wrote: > Graeme Geldenhuys wrote: >> >> On 11/10/2009, Andrew Brunner <andrew.t.brun...@gmail.com> wrote: >>> >>> FPC forces the ^ operator while accessing structures as pointers. >>> Delphi didn't force it and I even suspect that memory leaks can result >>> in NOT using the ^ to denote the reference to the pointer rather than >>> the pointer itself. >> pS[2] <<<<<<<<<<<<<<<
Any idea what the compiler option is under Lazarus (that's what I use exclusively)? I get a compiler error when I don't use the ^ operator. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal