On 18.3.2015 г. 16:53, Graeme Geldenhuys wrote:
Based on what the documentation says "introduction of ptrint type was a
mistake", shouldn't the PtrInt type be marked as deprecated in FPC 3.0.0
and removed in a later release like 3.0.2 or 3.2.0?

http://www.freepascal.org/docs-html/rtl/system/ptrint.html
I don't think it should be removed. It's more of a "if you use it, you must know what you're doing" type of thing IMO. It's useful for e.g. obtaining the result of a pointer difference or storing a signed offset relative to a memory address.

Nikolay
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to