[fpc-pascal] Has anyone ported fpc-pascal to Solaris ?

2007-10-04 Thread Dennis Clarke
I wanted to create a package for Solaris users and wondered if anyone had made the attempt. - Dennis Clarke ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] function alias

2007-10-04 Thread Daniƫl Mantione
Op Thu, 4 Oct 2007, schreef Mattias Gaertner: > Yes, but I hoped to declare it in situ - without adding another type. ;) > The reason is that I'm auto translating some C headers that contains > aliases for functions. procedure DoAliasSomething(...params...); cdecl; external 'useful'; ... is an

Re: [fpc-pascal] function alias

2007-10-04 Thread Mattias Gaertner
On Thu, 4 Oct 2007 19:58:08 +0200 (CEST) Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > > On Thu, 4 Oct 2007, Mattias Gaertner wrote: > > > How can I create an alias for a function? > > For example: > > > > procedure DoSomething(...params...); cdecl; external 'useful'; > > > > const > >

Re: [fpc-pascal] function alias

2007-10-04 Thread Michael Van Canneyt
On Thu, 4 Oct 2007, Mattias Gaertner wrote: > How can I create an alias for a function? > For example: > > procedure DoSomething(...params...); cdecl; external 'useful'; > > const > DoAliasSomething = DoSomething; > > fpc does not allow this. So how can it be done? program test; procedure

[fpc-pascal] function alias

2007-10-04 Thread Mattias Gaertner
How can I create an alias for a function? For example: procedure DoSomething(...params...); cdecl; external 'useful'; const DoAliasSomething = DoSomething; fpc does not allow this. So how can it be done? Mattias ___ fpc-pascal maillist - fpc-pa

Re: [fpc-pascal] serial ports under Unix using Freepascal

2007-10-04 Thread Marc Santhoff
Am Mittwoch, den 03.10.2007, 16:53 -0300 schrieb [EMAIL PROTECTED]: > Hi! > > I'm creating a component that handles serial port in windows/unix. > Under Windows I include in uses the unit windows, that open, close, > read, write, test if the configuration of serial port is valid (some > set of con

Re: [fpc-pascal] serial ports under Unix using Freepascal

2007-10-04 Thread Luca Olivetti
En/na [EMAIL PROTECTED] ha escrit: Hi! I'm creating a component that handles serial port in windows/unix. Under Windows I include in uses the unit windows, that open, close, read, write, test if the configuration of serial port is valid (some set of configurations of baudrate, stop bits and p

[fpc-pascal] serial ports under Unix using Freepascal

2007-10-04 Thread [EMAIL PROTECTED]
Hi! I'm creating a component that handles serial port in windows/unix. Under Windows I include in uses the unit windows, that open, close, read, write, test if the configuration of serial port is valid (some set of configurations of baudrate, stop bits and parity is invalid in windows) and if ser