SizeOf() not supported in {$IF ...}
Original Reporter info from Mantis: FPCCore
-
Reporter name: FPC core team
Original Reporter info from Mantis: FPCCore
- Reporter name: FPC core team
Description:
Delphi and Kylix supports SizeOf() in $IF to give the size of any type defined at that point in the file.
I know that in many cases this can be done with simple "If SizeOf(...) = X Then", but in some cases it cannot. I have a project that depends on this.
The example program can be trivially rewritten to remove the problem of the missing SizeOf()-support, but that's besides the point :)
Additional information:
Reporter: Christian Iversen
EMail: chrivers at iversen-net dot dk
Mantis conversion info:
- Mantis ID: 5120
- OS: Linux
- Version: 1.9.3
- Fixed in version: 1.9.3