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

2016-11-20 Thread Le Duc Hieu
Is there any entry on Mantis for me to keep track of this bug status? Thanks. On Sun, Nov 20, 2016 at 6:03 PM, Sven Barth wrote: > Am 20.11.2016 08:31 schrieb "Le Duc Hieu" : > > > > Here is the complete snippet that i wanted to create > > > > > > Type > > generic PGList = ^specialize TGList;

Re: [fpc-pascal] Error: Internal error 2014052302

2016-11-20 Thread Sven Barth
Am 20.11.2016 18:21 schrieb "Pierre Free Pascal" : > > Hi, > > > > -Message d'origine- > > De : fpc-pascal-boun...@lists.freepascal.org [mailto:fpc-pascal- > > boun...@lists.freepascal.org] De la part de Tony Whyman > > Envoyé : dimanche 20 novembre 2016 15:13 > > À : FPC-Pascal users discu

Re: [fpc-pascal] Error: Internal error 2014052302

2016-11-20 Thread Pierre Free Pascal
Hi, > -Message d'origine- > De : fpc-pascal-boun...@lists.freepascal.org [mailto:fpc-pascal- > boun...@lists.freepascal.org] De la part de Tony Whyman > Envoyé : dimanche 20 novembre 2016 15:13 > À : FPC-Pascal users discussions > Objet : [fpc-pascal] Error: Internal error 2014052302 > >

[fpc-pascal] Error: Internal error 2014052302

2016-11-20 Thread Tony Whyman
Any ideas as to what this means? Seen on FPC 3.0.0 under AMD64 Linux Mint 17 The odd thing about this one is that : a) Always on the same blank line just after a constructor b) Goes away when you recompile clean c) Seems to be fixed by just moving the constructor to the end of the unit.

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

2016-11-20 Thread Bernd
I found and fixed a few minor problems while writing the demo and added a simple demo program that will enumerate and print all devices and then tries to open a certain device by vid/pid, I have just hard coded the vid/pid of a popular cheap Logitech joystick because that was the only HID device th

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

2016-11-20 Thread Sven Barth
Am 20.11.2016 08:31 schrieb "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; You'll need to use nested types (they require modeswitch adva