[Patch] Fix for packages/fcl-db/tests/dbtestframework.pas compile errors
Original Reporter info from Mantis: BigChimp
-
Reporter name: Reinier Olislagers
Original Reporter info from Mantis: BigChimp
- Reporter name: Reinier Olislagers
Description:
Compiling testfieldtypes.pas
testfieldtypes.pas(1276,39) Error: Illegal qualifier
testfieldtypes.pas(1278,39) Error: Illegal qualifier
testfieldtypes.pas(1283,39) Error: Illegal qualifier
testfieldtypes.pas(1285,39) Error: Illegal qualifier
testfieldtypes.pas(1287,39) Error: Illegal qualifier
testfieldtypes.pas(2158,14) Warning: Class types "TSQLQuery" and "HackedDataset" are not related
testfieldtypes.pas(2164,14) Warning: Class types "TSQLQuery" and "HackedDataset" are not related
testfieldtypes.pas(2170,14) Warning: Class types "TSQLQuery" and "HackedDataset" are not related
testfieldtypes.pas(2327) Fatal: There were 5 errors compiling module, stopping
Fatal: Compilation aborted
Error: /home/pascaldev/264/bin/x86_64-linux/ppcx64 returned an error exitcode (normal if you did not
Laco:it is because there is used array constructor, which was introduced in FPC>=2.7.1
solution is remove whole test TTestFieldTypes.TestOpenSpecialStatements from testfieldtypes.pas
Attached patch against 2.6.4RC1 fixes this and dbtestframework.pas compiles
Mantis conversion info:
- Mantis ID: 25420
- OS: Windows
- OS Build: Windows 7
- Platform: x64 (with x86 compiler)
- Version: 2.6.4
- Fixed in version: 2.6.4
- Fixed in revision: r26229 (#c68723e3)