On PPC Linux and others, IDE Tools -> Options raises exception
Original Reporter info from Mantis: MarkMLl @MarkMLl
-
Reporter name: Mark Morgan Lloyd
Original Reporter info from Mantis: MarkMLl @MarkMLl
- Reporter name: Mark Morgan Lloyd
Description:
On PPC Linux 32-bit, the IDE (built with all or bigide) runs but won't display options to allow the compiler version etc. to be adjusted.
The exception in all cases is something like
TApplication.HandleException Error reading ComponentsListView.Items.LazData: Stream read error
Stack trace$1
$10118410 TREADER__READPROPERTY, line 1279 of /usr/local/src/fpc/fpc-trunk/rtl/objpas/classes/reader.inc
Additional information:
This also affects SPARC Linux and SPARC Solaris 11. I'm not able to test other targets (specifically, OSX etc.) at the moment.
In the Lazarus mailing list on 10th January, Matthias noted:
-----8<-----
TListItems.ReadLazData reads a TLazItemInfo, which is a record:
TLazItemInfo = record // packing is not needed and not wanted
ImageIndex: Integer;
StateIndex: Integer;
OverlayIndex: Integer;
SubItemCount: Integer;
end;
Without "packed" the layout depends on the platform. But the stream
should be streamed the same on all platforms. So it needs "packed".
OTOH someone added a comment that it is not wanted.
Has someone an idea why "packed" is "is not needed and not wanted"?
----->8-----