[fpc-pascal] compiling lazarus : custombitmap.inc(293, 49) Error: absolute can only be associated with a var or const

Benedikt Schindler BeniSchindler at gmx.de
Wed Apr 8 19:20:55 CEST 2009


Hi,

when i try to compile lazarus i get a error message "absolute can only 
be associated with a var or const"
did someone have an idea why this happens?

do i have to be in a special  Pascal language mode, to compile lazarus?

# Pascal language mode
#      -Mfpc      free pascal dialect (default)
#      -Mobjfpc   switch some Delphi 2 extensions on
#      -Mdelphi   tries to be Delphi compatible
#      -Mtp       tries to be TP/BP 7.0 compatible
#      -Mgpc      tries to be gpc compatible
#      -Mmacpas   tries to be compatible to the macintosh pascal dialects

greatings
Beni

output:
------------------------------------
Compiling graphics.pp
Compiling intfgraphics.pas
Compiling lclintf.pas
Compiling interfacebase.pp
Compiling lmessages.pp
Assembling lmessages
Compiling themes.pas
Compiling tmschema.pas
Assembling tmschema
Compiling comctrls.pp
Compiling lresources.pp
Compiling lazconfigstorage.pas
Assembling lazconfigstorage
Assembling lresources
Compiling lclintf.pas
Compiling interfacebase.pp
Assembling interfacebase
Assembling lclintf
Compiling imglist.pp
Compiling graphics.pp
Compiling intfgraphics.pas
Compiling icnstypes.pas
Assembling icnstypes
Compiling graphics.pp
custombitmap.inc(293,49) Error: absolute can only be associated with a 
var or const
custombitmap.inc(302,8) Warning: Local variable "SCB" does not seem to 
be initialized
fpimagebitmap.inc(108,49) Error: absolute can only be associated with a 
var or const
graphics.pp(2482) Fatal: There were 2 errors compiling module, stopping
Fatal: Compilation aborted




More information about the fpc-pascal mailing list