On Oct 12, 2019, at 6:43 PM, Michael Van Canneyt <mich...@freepascal.org> wrote:1) class operators for records It’s a bug then? I found another advanced record bug below.
Just type casting because the array is an array of pointers. I get these errors otherwise "Incompatible types: got "Pointer" expected “TEntity"”. I could use a proper type in a generic array but I don’t always do that. I actually just posted to the list about this earlier. begin Another bug then. Should I make a bug report for these? Here’s another one I found. No section headers in records? Expected "," or ":" at token "Identifier IDSize" in file /Users/ryanjoseph/Developer/Projects/FPC/NewEngine/Sources/Base/UImage.pas at line 94 column 4 TGAHeader = packed record private IDSize: uint8_t; // Size of ID info following header colorMapType: uint8_t; // Whether this is a paletted image imageType: uint8_t; // type of image 0=none, 1=indexed, 2=rgb, 3=grey, +8=rle packed Regards, Ryan Joseph |
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal