Closed Danjb1 closed 5 years ago
Trying to compile on Lazarus v2.0.0 (32-bit) gives different errors:
Hint: (11030) Start of reading config file D:\lazarus\fpc\3.0.4\bin\i386-win32\fpc.cfg
Hint: (11031) End of reading config file D:\lazarus\fpc\3.0.4\bin\i386-win32\fpc.cfg
Free Pascal Compiler version 3.0.4 [2019/02/03] for i386
Copyright (c) 1993-2017 by Florian Klaempfl and others
(1002) Target OS: Win32 for i386
(3104) Compiling RXXPacker.dpr
(3104) Compiling RXXPackerForm.pas
(3104) Compiling RXXPackerProc.pas
(3104) Compiling ..\..\src\utils\KM_Pics.pas
(3104) Compiling ..\..\src\res\KM_ResPalettes.pas
(3104) Compiling ..\..\src\common\KM_CommonClasses.pas
(3104) Compiling ..\..\src\common\KM_Points.pas
(3104) Compiling ..\..\src\utils\KM_CommonUtils.pas
(3104) Compiling ..\..\src\common\KM_Defaults.pas
(3104) Compiling ..\..\src\common\KM_CommonTypes.pas
(3104) Compiling D:\Danjb\Stuff\kam_remake\src\KM_Log.pas
D:\Danjb\Stuff\kam_remake\src\KM_Log.pas(123,40) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "RawByteString"
D:\Danjb\Stuff\kam_remake\src\KM_Log.pas(125,43) Warning: (4104) Implicit string type conversion from "RawByteString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake\src\KM_Log.pas(128,41) Warning: (4104) Implicit string type conversion from "RawByteString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake\src\KM_Log.pas(381,29) Warning: (4104) Implicit string type conversion from "AnsiString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake\src\KM_Log.pas(389,29) Warning: (4104) Implicit string type conversion from "AnsiString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake\src\KM_Log.pas(397,29) Warning: (4104) Implicit string type conversion from "AnsiString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake\src\KM_Log.pas(419,48) Warning: (4104) Implicit string type conversion from "AnsiString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake\src\KM_Log.pas(428,66) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_CommonUtils.pas(341,19) Hint: (5057) Local variable "st" does not seem to be initialized
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_CommonUtils.pas(378,44) Hint: (5057) Local variable "TZInfo" does not seem to be initialized
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_CommonUtils.pas(422,22) Warning: (4104) Implicit string type conversion from "AnsiString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_CommonUtils.pas(428,22) Warning: (4104) Implicit string type conversion from "AnsiString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_CommonUtils.pas(529,34) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_CommonUtils.pas(529,13) Warning: (4104) Implicit string type conversion from "AnsiString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_CommonUtils.pas(803,55) Warning: (4104) Implicit string type conversion from "AnsiString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_CommonUtils.pas(810,54) Warning: (4104) Implicit string type conversion from "AnsiString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_CommonUtils.pas(870,16) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_CommonUtils.pas(903,81) Warning: (4104) Implicit string type conversion from "AnsiString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_CommonUtils.pas(910,141) Warning: (4104) Implicit string type conversion from "AnsiString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_CommonUtils.pas(1001,24) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_CommonUtils.pas(1002,51) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_CommonUtils.pas(1023,42) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_CommonUtils.pas(1046,56) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "RawByteString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_CommonUtils.pas(1052,60) Warning: (4104) Implicit string type conversion from "RawByteString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_CommonUtils.pas(1052,65) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_CommonUtils.pas(1056,67) Warning: (4104) Implicit string type conversion from "RawByteString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_CommonUtils.pas(1068,56) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "RawByteString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_CommonUtils.pas(1074,60) Warning: (4104) Implicit string type conversion from "RawByteString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_CommonUtils.pas(1074,65) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_CommonUtils.pas(1078,67) Warning: (4104) Implicit string type conversion from "RawByteString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_CommonUtils.pas(1318,22) Warning: (4104) Implicit string type conversion from "AnsiString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_CommonUtils.pas(1324,18) Warning: (4104) Implicit string type conversion from "AnsiString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_CommonUtils.pas(1349,22) Warning: (4104) Implicit string type conversion from "AnsiString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_CommonUtils.pas(1355,18) Warning: (4104) Implicit string type conversion from "AnsiString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_CommonUtils.pas(1380,22) Warning: (4104) Implicit string type conversion from "AnsiString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_CommonUtils.pas(1386,18) Warning: (4104) Implicit string type conversion from "AnsiString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_CommonUtils.pas(132,13) Hint: (5023) Unit "Types" not used in KM_CommonUtils
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\common\KM_Points.pas(635,45) Hint: (4079) Converting the operands to "Int64" before doing the add could prevent overflow errors.
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\common\KM_CommonClasses.pas(226,24) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\common\KM_CommonClasses.pas(246,9) Hint: (5057) Local variable "I" does not seem to be initialized
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\common\KM_CommonClasses.pas(264,9) Hint: (5057) Local variable "I" does not seem to be initialized
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\common\KM_CommonClasses.pas(282,9) Hint: (5057) Local variable "I" does not seem to be initialized
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\common\KM_CommonClasses.pas(319,9) Hint: (5057) Local variable "I" does not seem to be initialized
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\common\KM_CommonClasses.pas(393,9) Hint: (5057) Local variable "I" does not seem to be initialized
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\common\KM_CommonClasses.pas(407,37) Hint: (5058) Variable "Value" does not seem to be initialized
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\common\KM_CommonClasses.pas(410,37) Hint: (5058) Variable "Value" does not seem to be initialized
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\common\KM_CommonClasses.pas(413,37) Hint: (5058) Variable "Value" does not seem to be initialized
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\common\KM_CommonClasses.pas(416,37) Hint: (5058) Variable "Value" does not seem to be initialized
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\common\KM_CommonClasses.pas(419,37) Hint: (5058) Variable "Value" does not seem to be initialized
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\common\KM_CommonClasses.pas(422,37) Hint: (5058) Variable "Value" does not seem to be initialized
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\common\KM_CommonClasses.pas(425,37) Hint: (5058) Variable "Value" does not seem to be initialized
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\common\KM_CommonClasses.pas(428,37) Hint: (5058) Variable "Value" does not seem to be initialized
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\common\KM_CommonClasses.pas(431,37) Hint: (5058) Variable "Value" does not seem to be initialized
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\common\KM_CommonClasses.pas(434,37) Hint: (5058) Variable "Value" does not seem to be initialized
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\common\KM_CommonClasses.pas(437,37) Hint: (5058) Variable "Value" does not seem to be initialized
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\common\KM_CommonClasses.pas(440,37) Hint: (5058) Variable "Value" does not seem to be initialized
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\common\KM_CommonClasses.pas(443,37) Hint: (5058) Variable "Value" does not seem to be initialized
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\common\KM_CommonClasses.pas(446,37) Hint: (5058) Variable "Value" does not seem to be initialized
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\common\KM_CommonClasses.pas(449,37) Hint: (5058) Variable "Value" does not seem to be initialized
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\common\KM_CommonClasses.pas(452,37) Hint: (5058) Variable "Value" does not seem to be initialized
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\common\KM_CommonClasses.pas(797,21) Hint: (4035) Mixing signed expressions and longwords gives a 64bit result
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\common\KM_CommonClasses.pas(799,16) Hint: (4035) Mixing signed expressions and longwords gives a 64bit result
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\common\KM_CommonClasses.pas(971,46) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\common\KM_CommonClasses.pas(987,22) Warning: (4104) Implicit string type conversion from "AnsiString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\res\KM_ResPalettes.pas(106,29) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\res\KM_ResPalettes.pas(159,57) Warning: (4104) Implicit string type conversion from "AnsiString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\res\KM_ResPalettes.pas(167,49) Warning: (4104) Implicit string type conversion from "AnsiString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\res\KM_ResPalettes.pas(173,21) Warning: (4104) Implicit string type conversion from "AnsiString" to "UnicodeString"
(3104) Compiling D:\Danjb\Stuff\kam_remake\src\res\KM_ResHouses.pas
(3104) Compiling D:\Danjb\Stuff\kam_remake\src\res\KM_ResWares.pas
(3104) Compiling D:\Danjb\Stuff\kam_remake\src\res\KM_ResTexts.pas
(3104) Compiling ..\..\src\ext\KromUtils.pas
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\KromUtils.pas(253,25) Hint: (4055) Conversion between ordinals and pointers is not portable
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\KromUtils.pas(253,19) Hint: (4055) Conversion between ordinals and pointers is not portable
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\KromUtils.pas(253,59) Hint: (4055) Conversion between ordinals and pointers is not portable
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\KromUtils.pas(253,53) Hint: (4055) Conversion between ordinals and pointers is not portable
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\KromUtils.pas(52,43) Hint: (5024) Parameter "RunAsFunction" not used
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\KromUtils.pas(489,18) Hint: (4055) Conversion between ordinals and pointers is not portable
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\KromUtils.pas(489,44) Hint: (4079) Converting the operands to "Int64" before doing the add could prevent overflow errors.
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\KromUtils.pas(489,12) Warning: (4056) Conversion between ordinals and pointers is not portable
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\KromUtils.pas(527,20) Hint: (4055) Conversion between ordinals and pointers is not portable
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\KromUtils.pas(527,14) Hint: (4055) Conversion between ordinals and pointers is not portable
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\KromUtils.pas(8,24) Hint: (5023) Unit "UTF8Process" not used in KromUtils
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\KromUtils.pas(8,37) Hint: (5023) Unit "LazHelpHTML" not used in KromUtils
(3104) Compiling ..\..\src\utils\KM_FileIO.pas
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_FileIO.pas(50,30) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_FileIO.pas(52,17) Hint: (5057) Local variable "Head" does not seem to be initialized
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_FileIO.pas(99,32) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_FileIO.pas(100,19) Hint: (5057) Local variable "Head" does not seem to be initialized
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_FileIO.pas(128,23) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_FileIO.pas(128,16) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_FileIO.pas(142,23) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_FileIO.pas(142,16) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_FileIO.pas(153,39) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_FileIO.pas(186,70) Hint: (5091) Local variable "ErrorStr" of a managed type does not seem to be initialized
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_FileIO.pas(187,65) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_FileIO.pas(214,46) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "RawByteString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_FileIO.pas(225,49) Warning: (4104) Implicit string type conversion from "AnsiString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_FileIO.pas(226,73) Warning: (4104) Implicit string type conversion from "AnsiString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\utils\KM_FileIO.pas(227,52) Warning: (4104) Implicit string type conversion from "AnsiString" to "UnicodeString"
(3104) Compiling D:\Danjb\Stuff\kam_remake\src\res\KM_ResLocales.pas
D:\Danjb\Stuff\kam_remake\src\res\KM_ResLocales.pas(103,38) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
D:\Danjb\Stuff\kam_remake\src\res\KM_ResLocales.pas(104,55) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
D:\Danjb\Stuff\kam_remake\src\res\KM_ResLocales.pas(105,63) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
D:\Danjb\Stuff\kam_remake\src\res\KM_ResLocales.pas(106,55) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
D:\Danjb\Stuff\kam_remake\src\res\KM_ResLocales.pas(128,42) Warning: (4104) Implicit string type conversion from "AnsiString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake\src\res\KM_ResLocales.pas(128,49) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
D:\Danjb\Stuff\kam_remake\src\res\KM_ResLocales.pas(131,23) Warning: (4104) Implicit string type conversion from "AnsiString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake\src\res\KM_ResLocales.pas(185,47) Warning: (4104) Implicit string type conversion from "AnsiString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake\src\res\KM_ResLocales.pas(185,89) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
D:\Danjb\Stuff\kam_remake\src\res\KM_ResTexts.pas(107,31) Warning: (4104) Implicit string type conversion from "AnsiString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake\src\res\KM_ResTexts.pas(115,55) Warning: (4105) Implicit string type conversion with potential data loss from "WideString" to "AnsiString"
D:\Danjb\Stuff\kam_remake\src\res\KM_ResTexts.pas(132,64) Warning: (4105) Implicit string type conversion with potential data loss from "WideString" to "AnsiString"
D:\Danjb\Stuff\kam_remake\src\res\KM_ResTexts.pas(144,43) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
D:\Danjb\Stuff\kam_remake\src\res\KM_ResTexts.pas(158,47) Warning: (4104) Implicit string type conversion from "AnsiString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake\src\res\KM_ResTexts.pas(217,47) Warning: (4104) Implicit string type conversion from "AnsiString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake\src\res\KM_ResTexts.pas(227,47) Warning: (4104) Implicit string type conversion from "AnsiString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake\src\res\KM_ResTexts.pas(259,53) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
D:\Danjb\Stuff\kam_remake\src\res\KM_ResTexts.pas(284,58) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
D:\Danjb\Stuff\kam_remake\src\res\KM_ResTexts.pas(284,68) Warning: (4104) Implicit string type conversion from "AnsiString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake\src\res\KM_ResWares.pas(287,44) Warning: (4104) Implicit string type conversion from "AnsiString" to "UnicodeString"
D:\Danjb\Stuff\kam_remake\src\res\KM_ResWares.pas(287,77) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
(3104) Compiling ..\..\src\navmesh\KM_Outline.pas
(3104) Compiling ..\..\src\navmesh\KM_PolySimplify.pas
(3104) Compiling ..\..\src\ext\PolyTriangulate.pas
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\PolyTriangulate.pas(256,4) Warning: (5014) Label not defined "end1"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\PolyTriangulate.pas(213,21) Hint: (5028) Local label "end1" is not used
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\navmesh\KM_PolySimplify.pas(729,27) Warning: (5089) Local variable "Tmp" of a managed type does not seem to be initialized
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\navmesh\KM_Outline.pas(48,14) Hint: (4035) Mixing signed expressions and longwords gives a 64bit result
(3104) Compiling D:\Danjb\Stuff\kam_remake\src\res\KM_ResUnits.pas
D:\Danjb\Stuff\kam_remake\src\res\KM_ResUnits.pas(364,76) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
D:\Danjb\Stuff\kam_remake\src\res\KM_ResUnits.pas(545,25) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
D:\Danjb\Stuff\kam_remake\src\res\KM_ResHouses.pas(712,88) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
D:\Danjb\Stuff\kam_remake\src\res\KM_ResHouses.pas(858,34) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
(3104) Compiling ..\..\src\res\KM_ResSprites.pas
(3104) Compiling ..\..\src\utils\KM_PNG.pas
(3104) Compiling ..\..\src\ext\BGRABitmap\bgrabitmap.pas
(3104) Compiling ..\..\src\ext\BGRABitmap\bgrawinbitmap.pas
(3104) Compiling ..\..\src\ext\BGRABitmap\bgradefaultbitmap.pas
(3104) Compiling ..\..\src\ext\BGRABitmap\bgrabitmaptypes.pas
(3104) Compiling ..\..\src\ext\BGRABitmap\bgracanvas.pas
(3104) Compiling ..\..\src\ext\BGRABitmap\bgrapen.pas
(3104) Compiling ..\..\src\ext\BGRABitmap\bgrapolygon.pas
(3104) Compiling ..\..\src\ext\BGRABitmap\bgrafillinfo.pas
(3104) Compiling ..\..\src\ext\BGRABitmap\bgrablend.pas
(3104) Compiling ..\..\src\ext\BGRABitmap\bgragradientscanner.pas
(3104) Compiling ..\..\src\ext\BGRABitmap\bgratransform.pas
(3104) Compiling ..\..\src\ext\BGRABitmap\bgraresample.pas
(3104) Compiling ..\..\src\ext\BGRABitmap\bgrapolygonaliased.pas
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgracanvas.pas(649,23) Error: (4001) Incompatible types: got "ArrayOfTPointF" expected "{Dynamic} Array Of TPointF"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgracanvas.pas(650,45) Error: (4025) Incompatible type for arg no. 2: Got "TBGRAPixel", expected "IBGRAScanner"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgrabitmaptypes.pas(297,16) Hint: (5039) Found declaration: FillPoly(const {Open} Array Of TPointF;IBGRAScanner;TDrawMode);
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgrabitmaptypes.pas(296,16) Hint: (5039) Found declaration: FillPoly(const {Open} Array Of TPointF;TBGRAPixel;TDrawMode);
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgracanvas.pas(716,13) Error: (4001) Incompatible types: got "ArrayOfTPointF" expected "{Dynamic} Array Of TPointF"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgracanvas.pas(720,29) Error: (4001) Incompatible types: got "BGRABITMAPTYPES.TPointF" expected "TYPES.TPointF"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgracanvas.pas(726,30) Error: (4025) Incompatible type for arg no. 1: Got "{Dynamic} Array Of TPointF", expected "{Open} Array Of TPointF"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgrapolygon.pas(601,33) Hint: (5039) Found declaration: AddPolygon(const {Open} Array Of TPointF;IBGRAScanner);
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgrapolygon.pas(594,33) Hint: (5039) Found declaration: AddPolygon(const {Open} Array Of TPointF;TBGRAPixel);
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgracanvas.pas(727,48) Error: (4025) Incompatible type for arg no. 2: Got "TBGRAPixel", expected "IBGRAScanner"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgrapolygon.pas(601,33) Hint: (5039) Found declaration: AddPolygon(const {Open} Array Of TPointF;IBGRAScanner);
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgrapolygon.pas(594,33) Hint: (5039) Found declaration: AddPolygon(const {Open} Array Of TPointF;TBGRAPixel);
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgracanvas.pas(733,50) Error: (4025) Incompatible type for arg no. 1: Got "{Dynamic} Array Of TPointF", expected "{Open} Array Of TPointF"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgrabitmaptypes.pas(363,15) Hint: (5039) Found declaration: ComputeWidePolygon(const {Open} Array Of TPointF;Single):{Dynamic} Array Of TPointF;
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgracanvas.pas(735,51) Error: (4025) Incompatible type for arg no. 1: Got "{Dynamic} Array Of TPointF", expected "{Open} Array Of TPointF"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgrabitmaptypes.pas(361,15) Hint: (5039) Found declaration: ComputeWidePolyline(const {Open} Array Of TPointF;Single):{Dynamic} Array Of TPointF;
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgracanvas.pas(736,47) Error: (4025) Incompatible type for arg no. 2: Got "TBGRAPixel", expected "IBGRAScanner"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgrapolygon.pas(601,33) Hint: (5039) Found declaration: AddPolygon(const {Open} Array Of TPointF;IBGRAScanner);
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgrapolygon.pas(594,33) Hint: (5039) Found declaration: AddPolygon(const {Open} Array Of TPointF;TBGRAPixel);
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgracanvas.pas(1196,24) Error: (4001) Incompatible types: got "BGRABITMAPTYPES.TPointF" expected "TYPES.TPointF"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgracanvas.pas(1196,54) Error: (4001) Incompatible types: got "BGRABITMAPTYPES.TPointF" expected "TYPES.TPointF"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgracanvas.pas(1200,43) Error: (3284) Operator is not overloaded: "TPointF" + "TPointF"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgracanvas.pas(1228,31) Error: (4025) Incompatible type for arg no. 1: Got "{Open} Array Of TPointF", expected "{Open} Array Of TPointF"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgrapolygon.pas(601,33) Hint: (5039) Found declaration: AddPolygon(const {Open} Array Of TPointF;IBGRAScanner);
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgrapolygon.pas(594,33) Hint: (5039) Found declaration: AddPolygon(const {Open} Array Of TPointF;TBGRAPixel);
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgracanvas.pas(1230,49) Error: (4025) Incompatible type for arg no. 2: Got "TBGRAPixel", expected "IBGRAScanner"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgrapolygon.pas(601,33) Hint: (5039) Found declaration: AddPolygon(const {Open} Array Of TPointF;IBGRAScanner);
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgrapolygon.pas(594,33) Hint: (5039) Found declaration: AddPolygon(const {Open} Array Of TPointF;TBGRAPixel);
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgracanvas.pas(1236,56) Error: (4025) Incompatible type for arg no. 1: Got "{Open} Array Of TPointF", expected "{Open} Array Of TPointF"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgrabitmaptypes.pas(363,15) Hint: (5039) Found declaration: ComputeWidePolygon(const {Open} Array Of TPointF;Single):{Dynamic} Array Of TPointF;
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgracanvas.pas(1278,16) Error: (4001) Incompatible types: got "BGRABITMAPTYPES.TPointF" expected "TYPES.TPointF"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgracanvas.pas(1290,46) Error: (4025) Incompatible type for arg no. 1: Got "{Open} Array Of TPointF", expected "{Open} Array Of TPointF"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgrabitmaptypes.pas(361,15) Hint: (5039) Found declaration: ComputeWidePolyline(const {Open} Array Of TPointF;Single):{Dynamic} Array Of TPointF;
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgracanvas.pas(1292,42) Error: (4025) Incompatible type for arg no. 2: Got "TBGRAPixel", expected "IBGRAScanner"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgrabitmaptypes.pas(297,16) Hint: (5039) Found declaration: FillPoly(const {Open} Array Of TPointF;IBGRAScanner;TDrawMode);
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgrabitmaptypes.pas(296,16) Hint: (5039) Found declaration: FillPoly(const {Open} Array Of TPointF;TBGRAPixel;TDrawMode);
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgracanvas.pas(1293,51) Error: (4025) Incompatible type for arg no. 2: Got "TBGRAPixel", expected "IBGRAScanner"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgrabitmaptypes.pas(299,16) Hint: (5039) Found declaration: FillPolyAntialias(const {Open} Array Of TPointF;IBGRAScanner);
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgrabitmaptypes.pas(298,16) Hint: (5039) Found declaration: FillPolyAntialias(const {Open} Array Of TPointF;TBGRAPixel);
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgracanvas.pas(1309,15) Error: (4001) Incompatible types: got "BGRABITMAPTYPES.TPointF" expected "TYPES.TPointF"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgracanvas.pas(1313,24) Error: (4001) Incompatible types: got "TYPES.TPointF" expected "BGRABITMAPTYPES.TPointF"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgracanvas.pas(1320,24) Error: (4001) Incompatible types: got "BGRABITMAPTYPES.TPointF" expected "TYPES.TPointF"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgracanvas.pas(1338,13) Error: (4001) Incompatible types: got "ArrayOfTPointF" expected "{Dynamic} Array Of TPointF"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgracanvas.pas(1473,47) Error: (4025) Incompatible type for arg no. 1: Got "{Array Of Const/Constant Open} Array of TPointF", expected "{Open} Array Of TPointF"
D:\Danjb\Stuff\kam_remake\Utils\RXXPacker\..\..\src\ext\BGRABitmap\bgracanvas.pas(1211,23) Hint: (5039) Found declaration: PolygonF(const {Open} Array Of TPointF;Boolean;Boolean="FALSE");
bgracanvas.pas(1520) Fatal: (10026) There were 24 errors compiling module, stopping
Fatal: (1018) Compilation aborted
Error: D:\lazarus\fpc\3.0.4\bin\i386-win32\ppc386.exe returned an error exitcode
Hi. I added support for Delphi 10.3 Rio, please update to the last commit.
Lazarus compilation should be fine, but not on the last version unfortunally - compilation is fine on Lazarus 1.6.2, or newer, but with FPC version 3.0.0.
Feel free to ask any questions on our Discord channel: https://discord.gg/tTmmf2
Hi @reyandme, thanks so much for the quick response!
RXXPacker runs fine now using Delphi, but I still get a handful of errors when trying to compile the game itself:
Checking project dependencies...
Compiling KaM_Remake.dproj (Release, Win32)
dcc32 command line for "KaM_Remake.dpr"
d:\program files (x86)\embarcadero\studio\20.0\bin\dcc32.exe -$W+ -$R+ -$Q+ true -$Y- --no-config -M -Q -TX.exe
-AGenerics.Collections=System.Generics.Collections;Generics.Defaults=System.Generics.Defaults;WinTypes=Winapi.Windows;WinProcs=Winapi.Windows;
DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE -DmadExcept;RELEASE -I.\src\common;.\src\common\BGRABitmap;".\src\common\Overbyte ICS 8";
.\src\common\pascalscript\source;"d:\program files (x86)\embarcadero\studio\20.0\lib\Win32\release";
D:\Danjb\Documents\Embarcadero\Studio\20.0\Imports;"d:\program files (x86)\embarcadero\studio\20.0\Imports";
C:\Users\Public\Documents\Embarcadero\Studio\20.0\Dcp;"d:\program files (x86)\embarcadero\studio\20.0\include"
-LEC:\Users\Public\Documents\Embarcadero\Studio\20.0\Bpl -LNC:\Users\Public\Documents\Embarcadero\Studio\20.0\Dcp -NUdcu -NSSystem.Win;Data.Win;
Datasnap.Win;Web.Win;Soap.Win;Xml.Win;Bde;Vcl;Vcl.Imaging;Vcl.Touch;Vcl.Samples;Vcl.Shell;System;Xml;Data;Datasnap;Web;Soap;Winapi; -O.\src\common;
.\src\common\BGRABitmap;".\src\common\Overbyte ICS 8";.\src\common\pascalscript\source;"d:\program files
(x86)\embarcadero\studio\20.0\lib\Win32\release";D:\Danjb\Documents\Embarcadero\Studio\20.0\Imports;"d:\program files
(x86)\embarcadero\studio\20.0\Imports";C:\Users\Public\Documents\Embarcadero\Studio\20.0\Dcp;"d:\program files (x86)\embarcadero\studio\20.0\include"
-R.\src\common;.\src\common\BGRABitmap;".\src\common\Overbyte ICS 8";.\src\common\pascalscript\source;"d:\program files
(x86)\embarcadero\studio\20.0\lib\Win32\release";D:\Danjb\Documents\Embarcadero\Studio\20.0\Imports;"d:\program files
(x86)\embarcadero\studio\20.0\Imports";C:\Users\Public\Documents\Embarcadero\Studio\20.0\Dcp;"d:\program files (x86)\embarcadero\studio\20.0\include"
-U.\src\common;.\src\common\BGRABitmap;".\src\common\Overbyte ICS 8";.\src\common\pascalscript\source;"d:\program files
(x86)\embarcadero\studio\20.0\lib\Win32\release";D:\Danjb\Documents\Embarcadero\Studio\20.0\Imports;"d:\program files
(x86)\embarcadero\studio\20.0\Imports";C:\Users\Public\Documents\Embarcadero\Studio\20.0\Dcp;"d:\program files (x86)\embarcadero\studio\20.0\include"
-K00400000 -GD -NBC:\Users\Public\Documents\Embarcadero\Studio\20.0\Dcp -NHC:\Users\Public\Documents\Embarcadero\Studio\20.0\hpp\Win32 -NOdcu
-W-COMPARING_SIGNED_UNSIGNED -W-COMBINING_SIGNED_UNSIGNED -$M16384,2097152 KaM_Remake.dpr
[dcc32 Warning] W1030 Invalid compiler directive: 'true'
[dcc32 Error] KM_RenderControl.pas(28): E2003 Undeclared identifier: 'TWmEraseBkgnd'
[dcc32 Error] KM_RenderControl.pas(28): E2003 Undeclared identifier: 'WM_ERASEBKGND'
[dcc32 Error] KM_RenderControl.pas(28): E2139 Illegal message method index
[dcc32 Error] KM_RenderControl.pas(29): E2003 Undeclared identifier: 'TWMSize'
[dcc32 Error] KM_RenderControl.pas(29): E2003 Undeclared identifier: 'WM_SIZE'
[dcc32 Error] KM_RenderControl.pas(30): E2003 Undeclared identifier: 'TWMPaint'
[dcc32 Error] KM_RenderControl.pas(30): E2003 Undeclared identifier: 'WM_PAINT'
[dcc32 Error] KM_RenderControl.pas(54): E2005 'TWmEraseBkgnd' is not a type identifier
[dcc32 Error] KM_RenderControl.pas(58): E2066 Missing operator or semicolon
[dcc32 Error] KM_RenderControl.pas(62): E2005 'TWMPaint' is not a type identifier
[dcc32 Error] KM_RenderControl.pas(88): E2005 'TWMSize' is not a type identifier
[dcc32 Error] KM_RenderControl.pas(92): E2035 Not enough actual parameters
[dcc32 Fatal Error] KM_FormMain.pas(44): F2063 Could not compile used unit 'KM_RenderControl.pas'
Failed
Elapsed time: 00:00:00.4
I'll give Lazarus a try, if I can figure out how to downgrade FPC :)
The above errors were after opening "KaMProjectGroup.groupproj", but actually "KaM_Remake.dpr" seems fine - it compiles! 🎉 🎈
EDIT: Ok, it compiles, but when I try to play the game it spits out errors continuously: 1 about a Range Check Error, and 1 about the game only supporting power-of-two textures.
@Danjb1 finally succeed with compilation
Yep, I did a full build and the errors from before went away. Thanks again Rey!
Following the instructions here: https://github.com/reyandme/kam_remake/wiki/ProjectCompilation
I get a whole bunch of compile errors when trying to compile and run RXXPacker:
I am using Delphi 10.3 Community Edition (32-bit).