Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2002-12

[win32] Error compiling lcllinux.pp line 134

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

andrew johnson
to Unknown author: Tried compiling lazarus under win32 causes the following error. C:\lazarus>make…

well, I can't guarantee good results with 1.1 compiler.. currently any lazarus built with it doesn't run at all.

(Though that indeed may be a typo.)

Andrew

Show quoted text 32 lines
Tried compiling lazarus under win32 causes the following error. C:\lazarus>make C:/PP/BIN/WIN32/MAKE.EXE -C lcl all MAKE.EXE[1]: Entering directory `C:/lazarus/lcl' C:/PP/BIN/WIN32/rm.exe -f units/allunits.ppw C:/PP/BIN/WIN32/ppc386.exe -gl -Fuinterfaces/abstract -Fu. -Fuc:/pp/units/win32/ rtl -Fuc:/pp/units/win32/paszlib -Fuc:/pp/units/win32/fcl -Fuc:/pp/units/win32/m ysql -Fuc:/pp/units/win32/ibase -Fiinclude -FUunits -di386 allunits.pp Free Pascal Compiler version 1.1 [2002/12/13] for i386 Copyright (c) 1993-2002 by Florian Klaempfl lcllinux.pp(134,37) Error: Illegal qualifier lcllinux.pp(231) Fatal: There were 1 errors compiling module, stopping MAKE.EXE[1]: *** [allunits.ppw] Error 1 MAKE.EXE[1]: Leaving directory `C:/lazarus/lcl' C:\PP\BIN\WIN32\MAKE.EXE: *** [lcl] Error 2 This is the line pointed to by the compiler, looks like a typo error. LowerCaseChars[c]:=lowercase(c)[1]; ^^^ Do we need this index, c is of type char. Regards, Yoyong _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

Reply by email

Unknown author

Just download the fpc 1.0.7 from ftp.us.freepascal.org and created the compiler. What is it that this compiler was not able to detect the problem in lcllinux.pp as pointed in my previous message??????

And by the way, any win32 developer around? Kindly check win32Object.inc line 1393
Cursor := MakeIntResource(Word(Integer(((Sender As TControl).Cursor))));

The statement says illegal conversion... something. I changed it to
Cursor := MakeIntResource(IntToStr(Word(Integer((Sender  As TControl).Cursor))));

Did I do it right?

Yoyong

Internet Mail Message
Received from host:
svcr-216-37-230-2.dsl.svcr.epix.net
[216.37.230.2]

From: andrew johnson on 12/13/2002 12:47 AM GMT

andrew johnson To:
Cc: (bcc: Yoyong Hernan-ET/PGI)
Subject: Re: [lazarus][win32] Error compiling lcllinux.pp line 134
12/13/2002 08:47 AM
Please respond to

well, I can't guarantee good results with 1.1 compiler.. currently any lazarus built with it doesn't run at all.

(Though that indeed may be a typo.)

Andrew

Show quoted text 8 lines
Tried compiling lazarus under win32 causes the following error. C:\lazarus>make C:/PP/BIN/WIN32/MAKE.EXE -C lcl all MAKE.EXE[1]: Entering directory `C:/lazarus/lcl' C:/PP/BIN/WIN32/rm.exe -f units/allunits.ppw C:/PP/BIN/WIN32/ppc386.exe -gl -Fuinterfaces/abstract -Fu.

-Fuc:/pp/units/win32/

rtl -Fuc:/pp/units/win32/paszlib -Fuc:/pp/units/win32/fcl

-Fuc:/pp/units/win32/m

Show quoted text 13 lines
ysql -Fuc:/pp/units/win32/ibase -Fiinclude -FUunits -di386 allunits.pp Free Pascal Compiler version 1.1 [2002/12/13] for i386 Copyright (c) 1993-2002 by Florian Klaempfl lcllinux.pp(134,37) Error: Illegal qualifier lcllinux.pp(231) Fatal: There were 1 errors compiling module, stopping MAKE.EXE[1]: *** [allunits.ppw] Error 1 MAKE.EXE[1]: Leaving directory `C:/lazarus/lcl' C:\PP\BIN\WIN32\MAKE.EXE: *** [lcl] Error 2 This is the line pointed to by the compiler, looks like a typo error. LowerCaseChars[c]:=lowercase(c)[1]; ^^^ Do we

need this index, c is of type char.

Show quoted text 10 lines
Regards, Yoyong _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

_________________________________________________________________ To unsubscribe: mail with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives

Reply by email

Unknown author

Tried compiling lazarus under win32 causes the following error.

C:\lazarus>make
C:/PP/BIN/WIN32/MAKE.EXE -C lcl all
MAKE.EXE[1]: Entering directory `C:/lazarus/lcl'
C:/PP/BIN/WIN32/rm.exe -f units/allunits.ppw
C:/PP/BIN/WIN32/ppc386.exe -gl -Fuinterfaces/abstract -Fu. -Fuc:/pp/units/win32/ rtl -Fuc:/pp/units/win32/paszlib -Fuc:/pp/units/win32/fcl -Fuc:/pp/units/win32/m ysql -Fuc:/pp/units/win32/ibase -Fiinclude -FUunits -di386 allunits.pp Free Pascal Compiler version 1.1 [2002/12/13] for i386 Copyright (c) 1993-2002 by Florian Klaempfl
lcllinux.pp(134,37) Error: Illegal qualifier
lcllinux.pp(231) Fatal: There were 1 errors compiling module, stopping MAKE.EXE[1]: *** [allunits.ppw] Error 1
MAKE.EXE[1]: Leaving directory `C:/lazarus/lcl'
C:\PP\BIN\WIN32\MAKE.EXE: *** [lcl] Error 2

This is the line pointed to by the compiler, looks like a typo error.

LowerCaseChars[c]:=lowercase(c)[1];
                                                                   ^^^   Do we need this index, c is of type char.

Regards,

Yoyong

Reply by email