Re: [fpc-devel] Compiler picks wrong overload

2019-05-27 Thread Martok
> More broadly I think the bigger problem is FPC's internal over-eagerness to > implicitly cast things to other things... for example, if you have a type with > an ":=" operator overload (or as Delphi calls it, an "Implicit" operator > overload) from both "Pointer" and "TObject", FPC will always

Re: [fpc-devel] Compiler picks wrong overload

2019-05-26 Thread Ben Grasset
On Wed, May 22, 2019 at 12:53 PM Pascal Riekenberg wrote: > No one? This is a showstopper! > FWIW, you can comment out the new TBytes definitions as a temporary fix. They are not actually used anywhere in the FPC codebase. More broadly I think the bigger problem is FPC's internal

Re: [fpc-devel] Compiler picks wrong overload

2019-05-22 Thread Pascal Riekenberg
No one? This is a showstopper! Regards Pascal > Pascal Riekenberg hat am 21. Mai 2019 um 12:54 > geschrieben: > > > Is someone working on these two issues? > > https://bugs.freepascal.org/view.php?id=35580 > https://bugs.freepascal.org/view.php?id=35576 > > Lazarus is not usable with fpc

[fpc-devel] Compiler picks wrong overload

2019-05-22 Thread Pascal Riekenberg
Is someone working on these two issues? https://bugs.freepascal.org/view.php?id=35580 https://bugs.freepascal.org/view.php?id=35576 Lazarus is not usable with fpc trunk atm. Regards Pascal ___ fpc-devel maillist - fpc-devel@lists.freepascal.org