Re: [fpc-pascal] MySQL 5.7 and FreePascal

2016-11-19 Thread Mattias Gaertner
On Sun, 20 Nov 2016 00:33:23 +0100 (CET) Michael Van Canneyt wrote: >[...] > It depends. MySQL 5.7 is supported in the mysql57dyn.pp unit, but I am not > sure it is included in Lazarus 1.6. It is shipped with fpc 3.0.0, so yes. Mattias ___ fpc-pascal

[fpc-pascal] Is there a way to create a generic pointer to a generic record

2016-11-19 Thread Le Duc Hieu
Hi, I'm trying to write a generic linked-list without the use of classes and objects. I need to be able to create generic pointer like this: Type generic PGList = ^specialize TGList; ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://

Re: [fpc-pascal] Is there a way to create a generic pointer to a generic record

2016-11-19 Thread Le Duc Hieu
Here is the complete snippet that i wanted to create Type generic PGList = ^specialize TGList; generic TGList = record data: T; next: specialize PGList end; On Fri, Nov 18, 2016 at 11:11 PM, Le Duc Hieu wrote: > Hi, > > I'm trying to write a generic linked-list without the use of

Re: [fpc-pascal] MySQL 5.7 and FreePascal

2016-11-19 Thread Michael Van Canneyt
On Sat, 19 Nov 2016, Lars wrote: On Sat, November 19, 2016 12:05 pm, Terry A. Haimann wrote: Is it possible to connect to MySQL 5.7 using TSQLConnection or will I have to downgrade my MySQL Version? I have FreePascal 3.0.0 which appears to be the most current version. I have it on a Ubuntu

Re: [fpc-pascal] HIDAPI Bindings for FPC (on Linux)

2016-11-19 Thread Michael Van Canneyt
On Sat, 19 Nov 2016, Bernd wrote: Hello list, I have made a binding for libhidapi because i needed one and I could not find any. https://github.com/prof7bit/HIDAPI.pas (LGPL + static linking) It is not just an automated header translation, instead I have made it using the good old Pascal ob

Re: [fpc-pascal] MySQL 5.7 and FreePascal

2016-11-19 Thread Lars
On Sat, November 19, 2016 12:05 pm, Terry A. Haimann wrote: > Is it possible to connect to MySQL 5.7 using TSQLConnection or will I > have to downgrade my MySQL Version? I have FreePascal 3.0.0 which appears > to be the most current version. I have it on a Ubuntu Linux 16.10 X86-64 > system.

[fpc-pascal] HIDAPI Bindings for FPC (on Linux)

2016-11-19 Thread Bernd
Hello list, I have made a binding for libhidapi because i needed one and I could not find any. https://github.com/prof7bit/HIDAPI.pas (LGPL + static linking) It is not just an automated header translation, instead I have made it using the good old Pascal objects (and pointers to them) to cast th

[fpc-pascal] MySQL 5.7 and FreePascal

2016-11-19 Thread Terry A. Haimann
Is it possible to connect to MySQL 5.7 using TSQLConnection or will I have to downgrade my MySQL Version? I have FreePascal 3.0.0 which appears to be the most current version. I have it on a Ubuntu Linux 16.10 X86-64 system. ___ fpc-pascal maillist -

Re: [fpc-pascal] Other linkers support

2016-11-19 Thread Jonas Maebe
denisgolovan wrote: > 18.11.2016, 13:00, "Jonas Maebe" : >> denisgolovan wrote on Fri, 18 Nov 2016: >> >>> Last time I tried, ld scripts generated by fpc caused some errors on >>> gold linker. >>> Are there any plans for support anything else besides standard ld? >> Gold and lld are supposed to

Re: [fpc-pascal] Other linkers support

2016-11-19 Thread denisgolovan
Ok. See http://bugs.freepascal.org/view.php?id=30956 then. 18.11.2016, 13:00, "Jonas Maebe" : > denisgolovan wrote on Fri, 18 Nov 2016: > >>  Last time I tried, ld scripts generated by fpc caused some errors on >>  gold linker. >>  Are there any plans for support anything else besides standard ld