Re: [fpc-pascal] generic proc inference

2019-10-03 Thread Sven Barth via fpc-pascal
Mattias Gaertner via fpc-pascal schrieb am Do., 3. Okt. 2019, 21:35: > Hi, > > What is the state of FPC support for calling generic procedures using > inference like Delphi? > > For example: > > {$mode objfpc} > generic procedure Run(a: T); > begin > end; > > begin > Run(2); > end. > A patch f

[fpc-pascal] generic proc inference

2019-10-03 Thread Mattias Gaertner via fpc-pascal
Hi, What is the state of FPC support for calling generic procedures using inference like Delphi? For example: {$mode objfpc} generic procedure Run(a: T); begin end; begin Run(2); end. Mattias ___ fpc-pascal maillist - fpc-pascal@lists.freepascal

Re: [fpc-pascal] threads, memory barriers and RTLeventSetEvent / RTLeventWaitFor

2019-10-03 Thread Jonas Maebe
On 01/10/2019 20:48, Sven Barth via fpc-pascal wrote: > Martin mailto:f...@mfriebe.de>> schrieb am Di., 1. Okt. > 2019, 17:19: > > Therefore my question: > Does RTLeventSetEvent / RTLeventWaitFor make sure memory is > synchronized > between threads? > > The functions themselves AF

Re: [fpc-pascal] Cannot cross-compile from Linux to Solaris-SPARC ?

2019-10-03 Thread Joost van der Sluis
Op 03-10-2019 om 06:18 schreef Alexey Tor.: Error: /home/user/fpcupdeluxe/cross/bin/sparc-solaris/sparc-solaris-gld: cannot find -lm Error: /home/user/fpcupdeluxe/cross/bin/sparc-solaris/sparc-solaris-gld: cannot find -lc Error: /home/user/fpcupdeluxe/cross/bin/sparc-solaris/sparc-solaris-gld: