[fpc-pascal] Why isn’t SizeOf() allowed in generic arrays?

J.-c. Chu jcchu at acm.org
Thu Mar 29 11:14:50 CEST 2012


Bug report filed at <http://bugs.freepascal.org/view.php?id=21592>.

Also, another, possibly related bug has been filed at
<http://bugs.freepascal.org/view.php?id=21593>.


On March 29, 2012, Sven Barth wrote:

> Your code should work as well, as e.g. TBytesOverlay<LongInt> should
> result in the above code. So please report this as a bug.

-- 
Best Regards,
J.-c. Chu



More information about the fpc-pascal mailing list