[fpc-pascal] fpc 3.2: "Declaration of type TTypeList changed"
pascaldragon at googlemail.com
Fri Apr 26 10:14:15 CEST 2019
Am 25.04.2019 um 22:23 schrieb Luca Olivetti:
> as per the subject, I've been bitten by this change:
> This code (FTasks is a specialization of TFPGList)
> for i:=0 to FTasks.Count-1 do
> worked before.
> Now it compiles with no warnings but it segfaults.
> (This is just an example, there are other instances where I use
> List^ and they also segfault).
> I changed the above code to be
> but I don't understand why the former implementation bombs. The change
> in the definition of TTypeList shouldn't have that effect, besides, as
> I said, I get no warning compiling the code (apart from the ton of
> messages about the assignment not inlined).
Seems I forgot to correctly adjust the GetList methods. I fixed that in
trunk now and will arange for a merge to 3.2.
More information about the fpc-pascal