Re: [fpc-pascal] using oldlinux

2005-06-14 Thread Michael Van Canneyt
On Tue, 14 Jun 2005, Koenraad Lelong wrote: > Hi, > Anyone has suggestions why I can't compile the following : > > unit test1; > > interface > > function ReadCOM(portnum : integer; inlen : integer; var inbuf : array of > byte) : integer; > > implementation > > uses baseunix, oldlinux; You

Re: [fpc-pascal] using oldlinux

2005-06-13 Thread Marco van de Voort
> Anyone has suggestions why I can't compile the following : tfdset and or (t)timeval maybe exists in both baseunix and oldlinux. Why do you use oldlinux at all? use baseunix.tfdset and baseunix.ttimeval or so. See the fpselect example in the documentation. __

[fpc-pascal] using oldlinux

2005-06-13 Thread Koenraad Lelong
Hi, Anyone has suggestions why I can't compile the following : unit test1; interface function ReadCOM(portnum : integer; inlen : integer; var inbuf : array of byte) : integer; implementation uses baseunix, oldlinux; function ReadCOM(portnum : integer; inlen : integer; var inbuf : array of