7.2 testers-thread
Re: 7.2-Beta testers-thread
@ Fr0sT
Note about ZEOS 7.3.x svn 4033:
----------------------------------------
Addition:
, ZDatasetUtils, ZTokenizer, ZAbstractRODataset
to /branches/testing-7.3/src/dbc/ZDbcGenericResolver.pas
is ugly.
Causes cross unit compilation in packages.
Michal
Note about ZEOS 7.3.x svn 4033:
----------------------------------------
Addition:
, ZDatasetUtils, ZTokenizer, ZAbstractRODataset
to /branches/testing-7.3/src/dbc/ZDbcGenericResolver.pas
is ugly.
Causes cross unit compilation in packages.
Michal
Re: 7.2-Beta testers-thread
@ Fr0sT
Note about ZEOS 7.3.x svn 4039:
-------------------------------------------
In:
/branches/testing-7.3/src/dbc/ZDbcGenericResolver.pas
I suggest Remove:
, ZDatasetUtils
and Change
// M.A. !!! Fields := ExtractFields(KeyFields, [',', ';']);
Fields := TStringList.Create(); // M.A.
ExtractStrings([',', ';'], [' '], PChar(KeyFields), Fields); // M.A.
try
Michal
Note about ZEOS 7.3.x svn 4039:
-------------------------------------------
In:
/branches/testing-7.3/src/dbc/ZDbcGenericResolver.pas
I suggest Remove:
, ZDatasetUtils
and Change
// M.A. !!! Fields := ExtractFields(KeyFields, [',', ';']);
Fields := TStringList.Create(); // M.A.
ExtractStrings([',', ';'], [' '], PChar(KeyFields), Fields); // M.A.
try
Michal
Re: 7.2-Beta testers-thread
@ Fr0sT, @EgonHugeist, @mdaems, @Jan, All
ZEOS 7.3.x svn 4041:
http://sourceforge.net/p/zeoslib/code-0 ... sting-7.3/
compile and run on:
- Lazarus 1.8.0RC5-Win32 (Windows 10-32).
- Delphi 2007-Win32 (Windows 10-64),
- Delphi 10 Seattle-Win32/Win64 (Windows 10-64).
-------------------------------------------------------------------
WARNINGS:
[dcc32 Warning] ZDbcUtils.pas(786): W1050 WideChar reduced to byte char in set expressions. Consider using 'CharInSet' function in 'SysUtils' unit.
[dcc32 Warning] ZDbcInterbase6Utils.pas(589): W1058 Implicit string cast with potential data loss from 'string' to 'RawByteString'
[dcc32 Warning] ZDbcInterbase6Utils.pas(593): W1057 Implicit string cast from 'AnsiChar' to 'string'
[dcc32 Warning] ZDbcInterbase6Utils.pas(593): W1058 Implicit string cast with potential data loss from 'string' to 'RawByteString'
[dcc32 Warning] ZDbcInterbase6Utils.pas(596): W1057 Implicit string cast from 'AnsiChar' to 'string'
[dcc32 Warning] ZDbcInterbase6Utils.pas(596): W1057 Implicit string cast from 'AnsiChar' to 'string'
[dcc32 Warning] ZDbcInterbase6Utils.pas(596): W1057 Implicit string cast from 'AnsiChar' to 'string'
[dcc32 Warning] ZDbcInterbase6Utils.pas(596): W1058 Implicit string cast with potential data loss from 'string' to 'RawByteString'
[dcc32 Warning] ZDbcInterbase6Utils.pas(967): W1057 Implicit string cast from 'RawByteString' to 'string'
[dcc32 Warning] ZDbcInterbase6Utils.pas(1017): W1058 Implicit string cast with potential data loss from 'string' to 'RawByteString'
[dcc32 Warning] ZDbcInterbase6Utils.pas(1017): W1058 Implicit string cast with potential data loss from 'string' to 'RawByteString'
[dcc32 Warning] ZDbcInterbase6Utils.pas(1020): W1057 Implicit string cast from 'RawByteString' to 'string'
Michal
ZEOS 7.3.x svn 4041:
http://sourceforge.net/p/zeoslib/code-0 ... sting-7.3/
compile and run on:
- Lazarus 1.8.0RC5-Win32 (Windows 10-32).
- Delphi 2007-Win32 (Windows 10-64),
- Delphi 10 Seattle-Win32/Win64 (Windows 10-64).
-------------------------------------------------------------------
WARNINGS:
[dcc32 Warning] ZDbcUtils.pas(786): W1050 WideChar reduced to byte char in set expressions. Consider using 'CharInSet' function in 'SysUtils' unit.
[dcc32 Warning] ZDbcInterbase6Utils.pas(589): W1058 Implicit string cast with potential data loss from 'string' to 'RawByteString'
[dcc32 Warning] ZDbcInterbase6Utils.pas(593): W1057 Implicit string cast from 'AnsiChar' to 'string'
[dcc32 Warning] ZDbcInterbase6Utils.pas(593): W1058 Implicit string cast with potential data loss from 'string' to 'RawByteString'
[dcc32 Warning] ZDbcInterbase6Utils.pas(596): W1057 Implicit string cast from 'AnsiChar' to 'string'
[dcc32 Warning] ZDbcInterbase6Utils.pas(596): W1057 Implicit string cast from 'AnsiChar' to 'string'
[dcc32 Warning] ZDbcInterbase6Utils.pas(596): W1057 Implicit string cast from 'AnsiChar' to 'string'
[dcc32 Warning] ZDbcInterbase6Utils.pas(596): W1058 Implicit string cast with potential data loss from 'string' to 'RawByteString'
[dcc32 Warning] ZDbcInterbase6Utils.pas(967): W1057 Implicit string cast from 'RawByteString' to 'string'
[dcc32 Warning] ZDbcInterbase6Utils.pas(1017): W1058 Implicit string cast with potential data loss from 'string' to 'RawByteString'
[dcc32 Warning] ZDbcInterbase6Utils.pas(1017): W1058 Implicit string cast with potential data loss from 'string' to 'RawByteString'
[dcc32 Warning] ZDbcInterbase6Utils.pas(1020): W1057 Implicit string cast from 'RawByteString' to 'string'
Michal
Last edited by miab3 on 17.10.2017, 17:21, edited 1 time in total.
Re: 7.2-Beta testers-thread
@miab3, cross unit compilation is fixed.
And I'll look at these warnings
And I'll look at these warnings
Re: 7.2-Beta testers-thread
@ Fr0sT,
----------------------------------------------------------------------
Warnings and Hints from Lazarus 1.8RC5 Win32:
ZODBCToken.pas(102,29) Hint: Local variable "ReadChar" does not seem to be initialized
ZDbcInterbase6ResultSet.pas(1574,4) Warning: Label not defined "AssignResult"
ZDbcInterbase6ResultSet.pas(1508,7) Hint: Local label "AssignResult" is not used
ZDbcInterbase6Utils.pas(260,54) Hint: Parameter "Dialect" not used
ZDbcInterbase6Utils.pas(960,75) Hint: Conversion between ordinals and pointers is not portable
ZDbcInterbase6Utils.pas(966,16) Hint: Conversion between ordinals and pointers is not portable
ZDbcInterbase6Utils.pas(1178,18) Hint: Local variable "Counts" does not seem to be initialized
ZDbcInterbase6Utils.pas(248,52) Hint: Parameter "Value" not used
ZDbcInterbase6Utils.pas(248,65) Hint: Parameter "SQLType" not used
ZDbcInterbase6Utils.pas(249,13) Hint: Parameter "VariantType" not used
ZDbcMySqlUtils.pas(142,31) Hint: Parameter "bUseResult" not used
ZDbcOracleUtils.pas(256,3) Hint: Parameter "UserServerCachedStmt" not used
ZDbcOracleMetadata.pas(1349,42) Hint: Parameter "Package" not used
ZDatasetUtils.pas(1058,67) Warning: Implicit string type conversion from "AnsiString" to "UnicodeString"
ZDatasetUtils.pas(1076,13) Warning: Implicit string type conversion with potential data loss from "WideString" to "AnsiString"
ZDatasetUtils.pas(1103,71) Warning: Implicit string type conversion from "AnsiString" to "UnicodeString"
ZDatasetUtils.pas(1129,15) Warning: Implicit string type conversion with potential data loss from "WideString" to "AnsiString"
ZUpdateSqlEditor.pas(327,45) Warning: Conversion between ordinals and pointers is not portable
ZUpdateSqlEditor.pas(348,43) Warning: Conversion between ordinals and pointers is not portable
ZUpdateSqlEditor.pas(528,38) Hint: Conversion between ordinals and pointers is not portable
ZUpdateSqlEditor.pas(690,32) Hint: Parameter "TabName" not used
ZUpdateSqlEditor.pas(825,82) Warning: Conversion between ordinals and pointers is not portable
ZGroupedConnection.pas(107,3) Note: Local variable "Msg" is assigned but never used
ZGroupedConnection.pas(94,48) Hint: Parameter "Msg" not used
Michal
Yes, I noticed.Fr0sT wrote:@miab3, cross unit compilation is fixed.
----------------------------------------------------------------------
Warnings and Hints from Lazarus 1.8RC5 Win32:
ZODBCToken.pas(102,29) Hint: Local variable "ReadChar" does not seem to be initialized
ZDbcInterbase6ResultSet.pas(1574,4) Warning: Label not defined "AssignResult"
ZDbcInterbase6ResultSet.pas(1508,7) Hint: Local label "AssignResult" is not used
ZDbcInterbase6Utils.pas(260,54) Hint: Parameter "Dialect" not used
ZDbcInterbase6Utils.pas(960,75) Hint: Conversion between ordinals and pointers is not portable
ZDbcInterbase6Utils.pas(966,16) Hint: Conversion between ordinals and pointers is not portable
ZDbcInterbase6Utils.pas(1178,18) Hint: Local variable "Counts" does not seem to be initialized
ZDbcInterbase6Utils.pas(248,52) Hint: Parameter "Value" not used
ZDbcInterbase6Utils.pas(248,65) Hint: Parameter "SQLType" not used
ZDbcInterbase6Utils.pas(249,13) Hint: Parameter "VariantType" not used
ZDbcMySqlUtils.pas(142,31) Hint: Parameter "bUseResult" not used
ZDbcOracleUtils.pas(256,3) Hint: Parameter "UserServerCachedStmt" not used
ZDbcOracleMetadata.pas(1349,42) Hint: Parameter "Package" not used
ZDatasetUtils.pas(1058,67) Warning: Implicit string type conversion from "AnsiString" to "UnicodeString"
ZDatasetUtils.pas(1076,13) Warning: Implicit string type conversion with potential data loss from "WideString" to "AnsiString"
ZDatasetUtils.pas(1103,71) Warning: Implicit string type conversion from "AnsiString" to "UnicodeString"
ZDatasetUtils.pas(1129,15) Warning: Implicit string type conversion with potential data loss from "WideString" to "AnsiString"
ZUpdateSqlEditor.pas(327,45) Warning: Conversion between ordinals and pointers is not portable
ZUpdateSqlEditor.pas(348,43) Warning: Conversion between ordinals and pointers is not portable
ZUpdateSqlEditor.pas(528,38) Hint: Conversion between ordinals and pointers is not portable
ZUpdateSqlEditor.pas(690,32) Hint: Parameter "TabName" not used
ZUpdateSqlEditor.pas(825,82) Warning: Conversion between ordinals and pointers is not portable
ZGroupedConnection.pas(107,3) Note: Local variable "Msg" is assigned but never used
ZGroupedConnection.pas(94,48) Hint: Parameter "Msg" not used
Michal
Re: 7.2-Beta testers-thread
Reported warnings for Delphi fixed in r3042.
Warnings for Lazarus are mostly old ones or false alarm.
Warnings for Lazarus are mostly old ones or false alarm.
Re: 7.2-Beta testers-thread
@ Fr0sT, @EgonHugeist, @mdaems, @Jan, All
ZEOS 7.3.x svn 4042:
http://sourceforge.net/p/zeoslib/code-0 ... sting-7.3/
compile and run on:
- Lazarus 1.8.0RC5-Win32 (Windows 10-32).
- Delphi 2007-Win32 (Windows 10-64),
- Delphi 10 Seattle-Win32/Win64 (Windows 10-64).
Michal
ZEOS 7.3.x svn 4042:
http://sourceforge.net/p/zeoslib/code-0 ... sting-7.3/
compile and run on:
- Lazarus 1.8.0RC5-Win32 (Windows 10-32).
- Delphi 2007-Win32 (Windows 10-64),
- Delphi 10 Seattle-Win32/Win64 (Windows 10-64).
Michal
Re: 7.2-Beta testers-thread
@ Fr0sT, @EgonHugeist, @mdaems, @Jan, All
ZEOS 7.2.x svn 4042(4036):
http://sourceforge.net/p/zeoslib/code-0 ... sting-7.2/
compile and run on:
- Delphi 10.1 Berlin-Win32/Win64 (Windows 10-64).
-------------------------------------------------------------------
WARNINGS:
[dcc32 Warning] ZDbcInterbase6Utils.pas(552): W1058 Implicit string cast with potential data loss from 'string' to 'RawByteString'
[dcc32 Warning] ZDbcInterbase6Utils.pas(556): W1057 Implicit string cast from 'AnsiChar' to 'string'
[dcc32 Warning] ZDbcInterbase6Utils.pas(556): W1058 Implicit string cast with potential data loss from 'string' to 'RawByteString'
[dcc32 Warning] ZDbcInterbase6Utils.pas(559): W1057 Implicit string cast from 'AnsiChar' to 'string'
[dcc32 Warning] ZDbcInterbase6Utils.pas(559): W1057 Implicit string cast from 'AnsiChar' to 'string'
[dcc32 Warning] ZDbcInterbase6Utils.pas(559): W1057 Implicit string cast from 'AnsiChar' to 'string'
[dcc32 Warning] ZDbcInterbase6Utils.pas(559): W1058 Implicit string cast with potential data loss from 'string' to 'RawByteString'
Michal
ZEOS 7.2.x svn 4042(4036):
http://sourceforge.net/p/zeoslib/code-0 ... sting-7.2/
compile and run on:
- Delphi 10.1 Berlin-Win32/Win64 (Windows 10-64).
-------------------------------------------------------------------
WARNINGS:
[dcc32 Warning] ZDbcInterbase6Utils.pas(552): W1058 Implicit string cast with potential data loss from 'string' to 'RawByteString'
[dcc32 Warning] ZDbcInterbase6Utils.pas(556): W1057 Implicit string cast from 'AnsiChar' to 'string'
[dcc32 Warning] ZDbcInterbase6Utils.pas(556): W1058 Implicit string cast with potential data loss from 'string' to 'RawByteString'
[dcc32 Warning] ZDbcInterbase6Utils.pas(559): W1057 Implicit string cast from 'AnsiChar' to 'string'
[dcc32 Warning] ZDbcInterbase6Utils.pas(559): W1057 Implicit string cast from 'AnsiChar' to 'string'
[dcc32 Warning] ZDbcInterbase6Utils.pas(559): W1057 Implicit string cast from 'AnsiChar' to 'string'
[dcc32 Warning] ZDbcInterbase6Utils.pas(559): W1058 Implicit string cast with potential data loss from 'string' to 'RawByteString'
Michal
Re: 7.2-Beta testers-thread
@ Fr0sT, @EgonHugeist, @mdaems, @Jan, All
ZEOS 7.2.x svn 4045:
http://sourceforge.net/p/zeoslib/code-0 ... sting-7.2/
compile and run on:
- Delphi 10.1 Berlin-Win32/Win64 (Windows 10-64).
ZEOS 7.3.x svn 4043:
http://sourceforge.net/p/zeoslib/code-0 ... sting-7.3/
compile and run on:
- Lazarus 1.8.0RC5-Win32 (Windows 10-32),
- Delphi 2007-Win32 (Windows 10-64),
- Delphi 10 Seattle-Win32/Win64 (Windows 10-64).
Michal
ZEOS 7.2.x svn 4045:
http://sourceforge.net/p/zeoslib/code-0 ... sting-7.2/
compile and run on:
- Delphi 10.1 Berlin-Win32/Win64 (Windows 10-64).
ZEOS 7.3.x svn 4043:
http://sourceforge.net/p/zeoslib/code-0 ... sting-7.3/
compile and run on:
- Lazarus 1.8.0RC5-Win32 (Windows 10-32),
- Delphi 2007-Win32 (Windows 10-64),
- Delphi 10 Seattle-Win32/Win64 (Windows 10-64).
Michal
Re: 7.2-Beta testers-thread
@ Fr0sT
Hi,
Where are added in 7.3.x svn 4044
http://sourceforge.net/p/zeoslib/code-0 ... sting-7.3/
units:
"added - core/ZConnProperties (most common connection props) and dbc/ZDbcProperties (dataset and driver-specific properties)"
?!?!
Michal
Hi,
Where are added in 7.3.x svn 4044
http://sourceforge.net/p/zeoslib/code-0 ... sting-7.3/
units:
"added - core/ZConnProperties (most common connection props) and dbc/ZDbcProperties (dataset and driver-specific properties)"
?!?!
Michal
Re: 7.2-Beta testers-thread
Hi Michal,
damn that SVN... It requires new files to be manually added. Fixed in r4046
damn that SVN... It requires new files to be manually added. Fixed in r4046
Re: 7.2-Beta testers-thread
@ Fr0sT
Hi,
There is a problem in ZEOS 7.2.x svn 4046(Lazarus 1.8RC5 Win32) in ZDbcAdoStatement.pas line 152 .
is:
{$IFDEF FAST_MOVE}, ZFastCode{$ENDIF};
should be:
{.$IFDEF FAST_MOVE}, ZFastCode{.$ENDIF};
Restore the ZFastCode!
=========================================================================
Additionally:
WARNINGS (Delphi 10 Settle Win32)
[dcc32 Warning] ZDbcDbLibUtils.pas(338): W1058 Implicit string cast with potential data loss from 'string' to 'RawByteString'
[dcc32 Warning] ZDbcMySqlMetadata.pas(1271): W1058 Implicit string cast with potential data loss from 'string' to 'RawByteString'
[dcc32 Warning] ZDbcPostgreSqlUtils.pas(752): W1058 Implicit string cast with potential data loss from 'string' to 'RawByteString'
[dcc32 Warning] ZDbcSqLite.pas(337): W1058 Implicit string cast with potential data loss from 'string' to 'RawByteString'
Michal
Hi,
There is a problem in ZEOS 7.2.x svn 4046(Lazarus 1.8RC5 Win32) in ZDbcAdoStatement.pas line 152 .
is:
{$IFDEF FAST_MOVE}, ZFastCode{$ENDIF};
should be:
{.$IFDEF FAST_MOVE}, ZFastCode{.$ENDIF};
Restore the ZFastCode!
=========================================================================
Additionally:
WARNINGS (Delphi 10 Settle Win32)
[dcc32 Warning] ZDbcDbLibUtils.pas(338): W1058 Implicit string cast with potential data loss from 'string' to 'RawByteString'
[dcc32 Warning] ZDbcMySqlMetadata.pas(1271): W1058 Implicit string cast with potential data loss from 'string' to 'RawByteString'
[dcc32 Warning] ZDbcPostgreSqlUtils.pas(752): W1058 Implicit string cast with potential data loss from 'string' to 'RawByteString'
[dcc32 Warning] ZDbcSqLite.pas(337): W1058 Implicit string cast with potential data loss from 'string' to 'RawByteString'
Michal
Re: 7.2-Beta testers-thread
Thanks, should be fixed in 4047
Re: 7.2-Beta testers-thread
@ Fr0sT, @EgonHugeist, @mdaems, @Jan, All
ZEOS 7.3.x svn 4047:
http://sourceforge.net/p/zeoslib/code-0 ... sting-7.3/
compile and run on:
- Lazarus 1.8.0RC5-Win32 (Windows 10-32),
- Delphi 2007-Win32 (Windows 10-64),
- Delphi 10 Seattle-Win32/Win64 (Windows 10-64).
Michal
ZEOS 7.3.x svn 4047:
http://sourceforge.net/p/zeoslib/code-0 ... sting-7.3/
compile and run on:
- Lazarus 1.8.0RC5-Win32 (Windows 10-32),
- Delphi 2007-Win32 (Windows 10-64),
- Delphi 10 Seattle-Win32/Win64 (Windows 10-64).
Michal
Re: 7.2-Beta testers-thread
@ Fr0sT, @EgonHugeist, @mdaems, @Jan, All
ZEOS 7.2.x svn 4052:
http://sourceforge.net/p/zeoslib/code-0 ... sting-7.2/
compile and run on:
- Delphi 10.1 Berlin-Win32/Win64 (Windows 7-64).
===============================================
ZEOS 7.3.x svn 4051(4052):
http://sourceforge.net/p/zeoslib/code-0 ... sting-7.3/
compile and run on:
- Lazarus 1.8.0RC5-Win32 (Windows 10-32),
- Delphi 2007-Win32 (Windows 10-64),
- Delphi 10 Seattle-Win32/Win64 (Windows 10-64).
Michal
ZEOS 7.2.x svn 4052:
http://sourceforge.net/p/zeoslib/code-0 ... sting-7.2/
compile and run on:
- Delphi 10.1 Berlin-Win32/Win64 (Windows 7-64).
===============================================
ZEOS 7.3.x svn 4051(4052):
http://sourceforge.net/p/zeoslib/code-0 ... sting-7.3/
compile and run on:
- Lazarus 1.8.0RC5-Win32 (Windows 10-32),
- Delphi 2007-Win32 (Windows 10-64),
- Delphi 10 Seattle-Win32/Win64 (Windows 10-64).
Michal