Issues 2.6.4

From Lazarus wiki

Issues with 2.6.4 release candidates

This page is supposed to contain all issues discovered while testing release candidates and their status. Make sure to include information about the platform where the problem appears (if applicable). Once the issue gets resolved, you should strike it over and add number of SVN revision fixing it. If the revision number refers to a SVN repository different from "fpc" (i.e. "fpcbuild" or "fpcdocs"), include information about the SVN repository too.

Example:

  1. cpu-os: IE209101221 while compiling XYZ.pas - r123456
  2. docs: missing description of XYZ
  3. readme.txt: wrong version number - r654321 (fpcbuild)

Issues with 2.6.4-rc1

  • make clean and make distclean don't clean anything in the package directories handled by fpmake (fastcgi and fcl-web) when FPC is a cross-compiler fixed r26844
  • document the issues on User_Changes_2.6.4 that triggered the changes performed in Lazarus
    • r40410 (already documented on User_Changes_Trunk),
    • r43275 Denied: fppkg/fpmake is beta in 2.6.x, not documented functionality.
    • r43371 Denied: Exact reason for this construct unknown. insertitem overload exists since rev 1?
  • cross-building broken r26134
  • packages/fcl-db/tests/dbtestframework.pas has compile errors:
 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
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 specify a source file to be compiled)

( done in fixes26, mantis #25420, r26229)

  • Mantis 25464 (fpmake) (probably trailing backslash escaping a delimiter)

Merge requests

  • (marcov) r26008 has some potentially critical fix to iconvenc. fixes r26267
  • (marcov) r26171 adds minimal ycck support to fcl-image (only adds code for a specific case) r26325
  • (marcov) r26189 adds FPC_USE_LIBC termios support. Doesn't change anything when syscalls are used. (to give debian/kfreebsd a shot at fpc 2.6.4) fixes r26268
  • (marcov) r26199 fixes some FPC_USE_LIBC cases in linux.pp fixes r26268
  • (marcov) r26188,r262190 Mysql header support. part of fixes r26283

=> Note reiniero: will probably? need r26197 to get mysql56conn.pas and updated other mysql*conn? fixes r26322, r26323

  • (marcov) r26202 windows.geticmprofilew misses pointer for one argument. part of fixes r26283
  • (marcov) r26320 Unoverridable finherithandles in wince. Fix for the same problem as in mantis 22271, but now for wince. r26324
  • (reiniero) patch r25985_backported_to_2.4rc1.diff in mantis #25314 which backports a fix for TCustomBufDataset.InternalClose method crushes in case of TSQLQuery.IndexFieldNames not empty. Note: due to test suite not working couldn't test; however fpc compiled cleanly. Laco, could you review this one please? (Laco:patch looks ok to me) fixes r26274
  • (reiniero) Patch in http://bugs.freepascal.org/view.php?id=25420 fixes "packages/fcl-db/tests/dbtestframework.pas has compile errors" reported above Fixes r26229
  • (lacak) r26412 fixes parameter parsing in SQL if form "-:param" or "a->'...'" is used (regression introduced in 2.6.2)
  • (lacak) r26152 add support for backtick "`" as identifier delimiter (not critical)
  • (crossbuilder) r26574 0025412: Wrong parsing in TCustomApplication.CheckOptions
  • (crossbuilder) r26577 0024674: Getoptionvalue returns next option if no value is provided

Post RC1 merges