Am 29.03.2012 10:39, schrieb J.-c. Chu:
type TBytesOverlay<T>  = array [0..SizeOf(T) - 1] of Byte

As the following does work:

type
  TBytesOverlayLongint = array[0..SizeOf(LongInt) - 1] of Byte;

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

Regards,
Sven
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to