lalexs75 / FBDataSet

GNU Lesser General Public License v2.1
3 stars 2 forks source link

Cant install on Lazarus 2.0.6 #1

Open arvanus opened 4 years ago

arvanus commented 4 years ago

Note: first let me say that I'm not used to use Lazarus, I'm just using it to build https://github.com/lalexs75/FBManager, and as a requirement FBDataset is necessary

Can't compile on Lazarus 2.0.6. Previously I installed https://github.com/hgourvest/uib as requirement for UIBLaz (not sure if it´s this package), and when I try to compile FBDataSet, I got this error:

Hint: (11030) Start of reading config file C:\lazarus\fpc\3.0.4\bin\i386-win32\fpc.cfg Hint: (11031) End of reading config file C:\lazarus\fpc\3.0.4\bin\i386-win32\fpc.cfg Free Pascal Compiler version 3.0.4 [2019/10/27] for i386 Copyright (c) 1993-2017 by Florian Klaempfl and others (1002) Target OS: Win32 for i386 (3104) Compiling fbdemofpc.pas (3104) Compiling fbcustomdataset.pas D:\componentes\lazarus\FBDataSet\fbcustomdataset.pas(62,15) Note: (3250) Virtual method "Notify(Pointer;TListNotification);" has a lower visibility (private) than parent class TList (protected) D:\componentes\lazarus\FBDataSet\fbcustomdataset.pas(311,15) Note: (3250) Virtual method "SetFieldData(TField;Pointer);" has a lower visibility (protected) than parent class TDataSet (public) D:\componentes\lazarus\FBDataSet\fbcustomdataset.pas(332,14) Note: (3250) Virtual method "BookmarkValid(TBytes):Boolean;" has a lower visibility (protected) than parent class TDataSet (public) D:\componentes\lazarus\FBDataSet\fbcustomdataset.pas(419,15) Warning: (3057) An inherited method is hidden by "SetFieldValues(const AnsiString;const Variant);" D:\componentes\lazarus\FBDataSet\fbcustomdataset.pas(613,17) Warning: (3057) An inherited method is hidden by "Notify(Pointer;TListNotification);" D:\componentes\lazarus\FBDataSet\fbcustomdataset.pas(852,25) Hint: (5024) Parameter "Buffer" not used D:\componentes\lazarus\FBDataSet\fbcustomdataset.pas(852,33) Hint: (5024) Parameter "Count" not used D:\componentes\lazarus\FBDataSet\fbcustomdataset.pas(853,21) Hint: (5024) Parameter "Offset" not used D:\componentes\lazarus\FBDataSet\fbcustomdataset.pas(853,38) Hint: (5024) Parameter "Origin" not used D:\componentes\lazarus\FBDataSet\fbcustomdataset.pas(854,25) Hint: (5024) Parameter "NewSize" not used D:\componentes\lazarus\FBDataSet\fbcustomdataset.pas(855,28) Hint: (5024) Parameter "Buffer" not used D:\componentes\lazarus\FBDataSet\fbcustomdataset.pas(855,36) Hint: (5024) Parameter "Count" not used D:\componentes\lazarus\FBDataSet\fbcustomdataset.pas(1032,29) Hint: (4055) Conversion between ordinals and pointers is not portable D:\componentes\lazarus\FBDataSet\fbcustomdataset.pas(1032,51) Hint: (4035) Mixing signed expressions and longwords gives a 64bit result D:\componentes\lazarus\FBDataSet\fbcustomdataset.pas(1032,21) Warning: (4056) Conversion between ordinals and pointers is not portable D:\componentes\lazarus\FBDataSet\fbcustomdataset.pas(1158,3) Note: (5025) Local variable "tmp" not used D:\componentes\lazarus\FBDataSet\fbcustomdataset.pas(1159,3) Note: (5027) Local variable "aName" is assigned but never used D:\componentes\lazarus\FBDataSet\fbcustomdataset.pas(1378,11) Error: (5000) Identifier not found "uftBoolean" D:\componentes\lazarus\FBDataSet\fbcustomdataset.pas(1378,21) Error: (4052) Constant Expression expected D:\componentes\lazarus\FBDataSet\fbcustomdataset.pas(1881,31) Hint: (4035) Mixing signed expressions and longwords gives a 64bit result D:\componentes\lazarus\FBDataSet\fbcustomdataset.pas(1952,36) Hint: (4035) Mixing signed expressions and longwords gives a 64bit result D:\componentes\lazarus\FBDataSet\fbcustomdataset.pas(2128,9) Error: (5000) Identifier not found "uftBoolean" D:\componentes\lazarus\FBDataSet\fbcustomdataset.pas(2128,19) Error: (4052) Constant Expression expected D:\componentes\lazarus\FBDataSet\fbcustomdataset.pas(2920,21) Hint: (5057) Local variable "SortArray" does not seem to be initialized D:\componentes\lazarus\FBDataSet\fbcustomdataset.pas(3140,22) Hint: (5091) Local variable "Fields" of a managed type does not seem to be initialized D:\componentes\lazarus\FBDataSet\fbcustomdataset.pas(3169,22) Hint: (5091) Local variable "Fields" of a managed type does not seem to be initialized D:\componentes\lazarus\FBDataSet\fbcustomdataset.pas(3201,22) Hint: (5091) Local variable "Fields" of a managed type does not seem to be initialized D:\componentes\lazarus\FBDataSet\fbcustomdataset.pas(3233,45) Hint: (5094) Function result variable of a managed type does not seem to be initialized D:\componentes\lazarus\FBDataSet\fbcustomdataset.pas(3263,45) Hint: (5094) Function result variable of a managed type does not seem to be initialized D:\componentes\lazarus\FBDataSet\fbcustomdataset.pas(3348,44) Hint: (5057) Local variable "BLOBRec" does not seem to be initialized D:\componentes\lazarus\FBDataSet\fbcustomdataset.pas(3358,46) Hint: (5057) Local variable "BLOBRec" does not seem to be initialized D:\componentes\lazarus\FBDataSet\fbcustomdataset.pas(3368,47) Hint: (5057) Local variable "BLOBRec" does not seem to be initialized D:\componentes\lazarus\FBDataSet\fbcustomdataset.pas(3790,25) Warning: (4104) Implicit string type conversion from "AnsiString" to "WideString" D:\componentes\lazarus\FBDataSet\fbcustomdataset.pas(5101,45) Hint: (4035) Mixing signed expressions and longwords gives a 64bit result D:\componentes\lazarus\FBDataSet\fbcustomdataset.pas(5102,45) Hint: (4035) Mixing signed expressions and longwords gives a 64bit result D:\componentes\lazarus\FBDataSet\fbcustomdataset.pas(5106,39) Hint: (4035) Mixing signed expressions and longwords gives a 64bit result D:\componentes\lazarus\FBDataSet\fbcustomdataset.pas(5106,70) Hint: (4035) Mixing signed expressions and longwords gives a 64bit result D:\componentes\lazarus\FBDataSet\fbcustomdataset.pas(5123,39) Hint: (4035) Mixing signed expressions and longwords gives a 64bit result D:\componentes\lazarus\FBDataSet\fbcustomdataset.pas(5123,70) Hint: (4035) Mixing signed expressions and longwords gives a 64bit result D:\componentes\lazarus\FBDataSet\fbcustomdataset.pas(5548,41) Hint: (4035) Mixing signed expressions and longwords gives a 64bit result D:\componentes\lazarus\FBDataSet\fbcustomdataset.pas(5692,16) Hint: (5057) Local variable "L" does not seem to be initialized fbcustomdataset.pas(5707) Fatal: (10026) There were 4 errors compiling module, stopping Fatal: (1018) Compilation aborted Error: C:\lazarus\fpc\3.0.4\bin\i386-win32\ppc386.exe returned an error exitcode

Error from:


          uftArray:;
          {$IFDEF IB7_UP}
          uftBoolean:PDest.ByNameAsBoolean[S]:=PSrc.AsBoolean[i];  <<<<<<Here
          {$ENDIF}
          {$IFDEF FB25_UP}, uftNull{$ENDIF}  
koresh-jr commented 1 month ago

Hi! I just comment this row, and rows 2128-2132 it file lazarus\FBDataSet\fbcustomdataset.pas. May be its not carefull, but its work.