[fpc-devel] Attn Joost: Cannot build Laz trunk with fpc fixes

2019-01-15 Thread Werner Pamler
Trying to build laz trunk (r60090) with fpc fixes (r40840) fails in (lazarus)\trunk\components\fppkg\src\fppkg_packagevariant.pas, function TFppkgNamedItemList.FindItemByName, lint 95 ("Result := nil") with the error "fppkg_packagevariant.pas(95,13) Error: Incompatible types: got "Pointer"

Re: [fpc-devel] Sorry for poor testing

2019-01-15 Thread Martok
Am 14.01.2019 um 15:01 schrieb J. Gareth Moreton: > Martok mentioned doing some checks differently in the bug report in question, > such as 6 comparisons being faster than a jump table.  Are there any others > worth mentioning? Not neccessarily faster, but in that code definitely smaller. Is there

Re: [fpc-devel] Sorry for poor testing

2019-01-15 Thread J. Gareth Moreton
For that very reason, I put an upper limit of 2,048 on the jump table size (which results in an 8 KiB table), although it was modified later so this bound doesn't apply if every single label points to a single value and more or less forms a continuum (e.g, you have 2,500 labels and none of them