Re: [fpc-pascal] generic proc inference

2019-10-09 Thread Sven Barth via fpc-pascal
Ryan Joseph schrieb am Mi., 9. Okt. 2019, 22:53: > > > > On Oct 9, 2019, at 1:51 AM, Sven Barth via fpc-pascal < > fpc-pascal@lists.freepascal.org> wrote: > > > > Yes, exactly that. It could also be that the parser picks up a non > generic overload from another unit (due to the order of units in

Re: [fpc-pascal] Building complier fails in itolitlsreader.pas

2019-10-09 Thread Ryan Joseph
> On Oct 9, 2019, at 3:50 PM, Christo Crause wrote: > > My guess is you have a corrupted file. According to the SVN info that file > was last changed in 2013. Viewing the file via the online viewer shows > nothing peculiar around line 385: > https://svn.freepascal.org/cgi-bin/viewvc.cgi/tru

Re: [fpc-pascal] generic proc inference

2019-10-09 Thread Ryan Joseph
> On Oct 9, 2019, at 1:51 AM, Sven Barth via fpc-pascal > wrote: > > Yes, exactly that. It could also be that the parser picks up a non generic > overload from another unit (due to the order of units in the uses section) > and then you can *only* handle that in tcallcandidates. > Hmmm, I

Re: [fpc-pascal] Building complier fails in itolitlsreader.pas

2019-10-09 Thread Christo Crause
On Wed, Oct 9, 2019 at 8:04 PM Ryan Joseph wrote: > Updated from svn just now (r43157) and tried to build but I get this > error. Pasted below is the source from itolitlsreader.pas and it appears > it’s totally mangled. Are other users seeing this also or did my SVN break > something? > > itolitl

[fpc-pascal] Building complier fails in itolitlsreader.pas

2019-10-09 Thread Ryan Joseph
Updated from svn just now (r43157) and tried to build but I get this error. Pasted below is the source from itolitlsreader.pas and it appears it’s totally mangled. Are other users seeing this also or did my SVN break something? itolitlsreader.pas(385,24) Error: Identifier not found "Sta" itolitl

Re: [fpc-pascal] Compatibility problems with fpc > 3.3.1 rev 42375

2019-10-09 Thread fredvs
Hello Sven. > I can't see any difference in that procedure to the one in Classes.TReader > except for the ifdefs and a few extensions for events and UTF-8 strings, > so the problem must be somewhere else. Ha, we are going forward. so maybe TReader is not the problem. Ok, I will try to investigat

Re: [fpc-pascal] Compatibility problems with fpc > 3.3.1 rev 42375

2019-10-09 Thread Sven Barth via fpc-pascal
fredvs schrieb am Fr., 6. Sep. 2019, 22:23: > Hello everybody (included Sven). > > It seems that the problems come from > /mseide-msegui/lib/common/fpccompatibility/mclasses.pas. > > In procedure TReader.ReadPropValue(Instance: TPersistent; PropInfo: > Pointer), IMHO there is something not compat

Re: [fpc-pascal] Compatibility problems with fpc > 3.3.1 rev 42375

2019-10-09 Thread Sven Barth via fpc-pascal
fredvs schrieb am Mi., 9. Okt. 2019, 12:00: > Could it be possible to simplify the life of rtl-users and add methods with > same parameters as previous version and make it compatible with new > features? > Working with the RTTI simply is *not* simple, because you're interfacing with binary data

Re: [fpc-pascal] Compatibility problems with fpc > 3.3.1 rev 42375

2019-10-09 Thread fredvs
Hello everybody. Sorry to come back with this but I am lost (and all my stock of Aspirina is dead). Could it be possible to simplify the life of rtl-users and add methods with same parameters as previous version and make it compatible with new features? Other wishes: It seems that the updates d

Re: [fpc-pascal] Linking with putty C code, various linker errors

2019-10-09 Thread Tobias Giesen
Hello again, here's a quick update, I decided to make a DLL instead. Much easier and cleaner. Making good progress. Will publish when done. Cheers, Tobias On Tue, Oct 8, 2019 at 6:50 PM wrote: > Hello, > I am trying to make an SFTP client class based on putty. It will be open > source and I th