[lazarus] bug last CVS Lazarus

Marco van de Voort marcov at stack.nl
Wed Nov 5 14:56:32 EST 2003


> On Wed, 5 Nov 2003 20:08:32 +0100 (CET)
> marcov at Stack.nl (Marco van de Voort) wrote:
> 
> > > Linux+fpc-1.0.10
> > > Compiling last CVS Lazarus, here you have a bug
> > > 
> > > 
> > > Compiling filectrl.pp
> > > filectrl.inc(461,8) Error: Identifier not found MODE_T
> > > filectrl.inc(461,14) Error: Error in type definition
> > > filectrl.inc(472,29) Error: Incompatible types: got "WORD" expected 
> > > "<erroneous type>"
> > 
> > Fixed, I hope.
> > 
> Just a question, why did you change it to longint, and not to word?

It is a longint on FreeBSD :_)

But afaik this is the case on linux also nowadays. Linux also changed a bit
after the creation of the original linux unit :-)

This kind of change illustrates some of the reasons behind the change of the linux port.

Adding proper typing aids portability, but also change through time.






More information about the Lazarus mailing list