[Lazarus] dtm_maker project compile errors with TList code.

Peter Williams pewilliams2010 at live.com
Fri May 6 09:17:36 CEST 2011






Hi All,
I have uploaded my project with compile time errors to here:> Download link: > http://hotfile.com/dl/116917459/8effac0/dtm_maker_002.zip.htmlAnd I am getting these errors:
Options changed, recompiling clean with -BHint: Start of reading config file /etc/fpc.cfgHint: End of reading config file /etc/fpc.cfgFree Pascal Compiler version 2.4.2-0 [2010/11/11] for i386Copyright (c) 1993-2010 by Florian KlaempflTarget OS: Linux for i386Compiling island_maker.lprCompiling unit1.pasCompiling set_max.pasunit1.pas(191,18) Error: No member is provided to access propertyunit1.pas(192,21) Error: No member is provided to access propertyunit1.pas(193,20) Error: No member is provided to access propertyunit1.pas(194,10) Error: No member is provided to access propertyunit1.pas(195,10) Error: No member is provided to access propertyunit1.pas(196,24) Error: No member is provided to access propertyunit1.pas(197,14) Error: No member is provided to access propertyunit1.pas(498,37) Error: Incompatible type for arg no. 3: Got "Array[1..2] Of AnsiString", expected "description_type"unit1.pas(184,21) Hint: Found declaration: constructor TIsland.Create(const Terrain_type,const Char,const description_type,const LongInt,const LongInt,const LongInt,const exit_type);unit1.pas(503,15) Error: Identifier not found "myList"unit1.pas(521,12) Error: Illegal qualifierunit1.pas(529,14) Warning: range check error while evaluating constantsunit1.pas(540,26) Error: Illegal qualifierunit1.pas(542,17) Error: Illegal qualifierunit1.pas(544,43) Error: Illegal qualifierunit1.pas(545,34) Error: Illegal qualifierunit1.pas(546,34) Error: Illegal qualifierunit1.pas(550,43) Error: Illegal qualifierunit1.pas(559,12) Error: Illegal qualifierunit1.pas(588,63) Error: Incompatible type for arg no. 7: Got "Pointer", expected "exit_type"unit1.pas(184,21) Hint: Found declaration: constructor TIsland.Create(const Terrain_type,const Char,const description_type,const LongInt,const LongInt,const LongInt,const exit_type);unit1.pas(607) Fatal: There were 18 errors compiling module, stopping
These errors relate to me modifying my code to try to use a TList. 
Could someone please look at my code and see if you can point of my errors and fixes.
Best Regards,Peter E WilliamsHobart, Australia






 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20110506/13300726/attachment-0002.html>


More information about the Lazarus mailing list