Re: [fpc-pascal] fppoll/epoll examples/documentation

2014-03-22 Thread m...@rpzdesign.com
Oops, I will just use man pages from linux, that should get me the info I need. I do not need pascal specific examples. md On 3/22/2014 8:43 PM, m...@rpzdesign.com wrote: This may seem crazy, but I cannot find any documentation or examples on fppoll( ) and the events member of TFdPoll structu

Re: [fpc-pascal] fppoll/epoll examples/documentation

2014-03-22 Thread Ralf Quint
On 3/22/2014 5:43 PM, m...@rpzdesign.com wrote: This may seem crazy, but I cannot find any documentation or examples on fppoll( ) and the events member of TFdPoll structure. ALso, there is a epoll demo at forum.lazarus.*freepascal*.org But I cannot ever reach that site from USA. Works just fin

Re: [fpc-pascal] Error compile library on Linux.

2014-03-22 Thread Fred van Stappen
>> Works fine for me if I compile everything with those parameters >> (and -trunk) I assume you compiled with the build.sh and then >> didn't clean up properly when you started adding parameters, >> thus leaving units compiled without the pic params. Hello. I have re-created a new fpc.cfg a

[fpc-pascal] fppoll/epoll examples/documentation

2014-03-22 Thread m...@rpzdesign.com
This may seem crazy, but I cannot find any documentation or examples on fppoll( ) and the events member of TFdPoll structure. ALso, there is a epoll demo at forum.lazarus.*freepascal*.org But I cannot ever reach that site from USA. Anybody know about more documentation on fppoll( ) or epoll( )?

Re: [fpc-pascal] Error compile library on Linux.

2014-03-22 Thread Fred van Stappen
Yep, many thanks for the attention you give : => http://bugs.freepascal.org/view.php?id=25901 Hum, Marco explained : >> Works fine for me if I compile everything with those parameters >> (and -trunk) I assume you compiled with the build.sh and then >> didn't clean up properly when you started

Re: [fpc-pascal] Bug in enumerators 2.6.4

2014-03-22 Thread hinstance
What you do this for? Using override directive makes no sense in this case, so I suggest you just don't use it. If you don't use it, the descendant enumerator will still work like intended 22.03.2014, 20:21, "Torsten Bonde Christiansen" : > Hi List. > > I think i have found a bug related to enum

Re: [fpc-pascal] Bug in enumerators 2.6.4

2014-03-22 Thread Marco van de Voort
In our previous episode, Bart said: > > Yes. The code with Tfoo and TBar above also shouldn't not compile, at least > > not in Delphi mode. > > The double negative is intended here? No. So Delphi refuses when TFoo and TBar are declared at the top. IMHO rightfully so. Both Delphi and FPC also ref

Re: [fpc-pascal] Bug in enumerators 2.6.4

2014-03-22 Thread Bart
On 3/22/14, Marco van de Voort wrote: > Yes. The code with Tfoo and TBar above also shouldn't not compile, at least > not in Delphi mode. The double negative is intended here? Bart ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lis

Re: [fpc-pascal] Bug in enumerators 2.6.4

2014-03-22 Thread Marco van de Voort
In our previous episode, Torsten Bonde Christiansen said: > > The problem seem to be that the a descendant enumerator class overriding > a virtual method cannot > return a class which i only forward declared. > > If the TFoo and TBar classes are moved above the TBarListEnumerator the > code com

[fpc-pascal] Bug in enumerators 2.6.4

2014-03-22 Thread Torsten Bonde Christiansen
Hi List. I think i have found a bug related to enumerators, overridden methods and forward declared classes. Please consider the code listed here: http://pastebin.com/8EkVDG5n The problem seem to be that the a descendant enumerator class overriding a virtual method cannot return a class whi