[lazarus] Libc.ErrNo and TControl.DoMouseWheel

Michael.VanCanneyt at Wisa.be Michael.VanCanneyt at Wisa.be
Wed Dec 31 10:41:06 EST 2003




On Wed, 31 Dec 2003, Den Jean wrote:

> Hi,
> 
> Libc.ErrNo:
> 
> thanks alot for the very quick response.
> I see the change in the new fpc cvs.
> 
> 1) But lazarus won't run anymore if compiled
> with this fpc. It stalls at startup.
> If however I compile it with 
> fpc-1.9.1-031129.i386.rpm, it works fine. 

Strange, the version of FPC should not matter in this ?

> 
> 2) I also tried compiling fpc with a 
> {$define LIBC_OLDERRNO} added at the top of
> unit libc. 
> But then fpc does not compile :
> ppc386 -XX -CX -Xs -OG2p3 -n -Fu/other/storage/rpms/lazarus/cvs/fpc/rtl/linux 
> -Fl/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.3.1 -Fl/usr/X11R6/lib 
> -Fl/usr/lib/qt3/lib -di386 -dRELEASE libc.pp
> errno.inc(4,16) Error: overloaded identifier "errno" isn't a function
> libc.pp(255) Fatal: There were 1 errors compiling module, stopping

Fixed, an omission on my part.

Michael.






More information about the Lazarus mailing list