19.01.2010 23:18, Marco van de Voort:
FPC is not going to forbid standard pointer use, since it breaks a lot of
code.
Of course. I think it all was about new features for new code.
By the way, it reminds me MemAvail (though not exactly the same). Lots
of code used to use it, however AFAIK it is not available anymore (for a
clear reason that it is inappropriate for any modern code)
I usually try to not use raw pointer arithmetics and either use
new/dispose with typed pointers or constructs like GetMem(X,
SizeOf(X^)). However, compiler does not force me to do so.
In theory, of course a dialect, or dialect switch could be implemented. It
could be even combined with an ISO Pascal mode. But the question is always
who is going to do it, and who is going to support it long term?
This is understood. I was just speculating theoretically.
Nikolai
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel