EldoS | Feel safer!

Software components for data protection, secure storage and transfer

PDFBlackBox, D2009, last release 7.1.160

Also by EldoS: CallbackProcess
A component to control process creation and termination in Windows and .NET applications.
#10592
Posted: 07/15/2009 07:46:15
by Kvetoslav Jansta (Standard support level)
Joined: 05/06/2008
Posts: 56

Hi,
what does it mean ?

C:\LIB\SecureBlackbox\SBCryptoProvBuiltInSym.pas(1688) Warning: W1024 Combining signed and unsigned types - widened both operands
C:\LIB\SecureBlackbox\SBCryptoProvBuiltInSym.pas(2550) Warning: W1024 Combining signed and unsigned types - widened both operands
C:\LIB\SecureBlackbox\SBCRL.pas(2123) Hint: H2164 Variable 'i' is declared but never used in 'TElCRLRetriever.GetCRLs'
C:\LIB\SecureBlackbox\SBCRL.pas(2125) Hint: H2164 Variable 'CRL' is declared but never used in 'TElCRLRetriever.GetCRLs'
C:\LIB\SecureBlackbox\SBPDF.pas(9193) Warning: W1058 Implicit string cast with potential data loss from 'string' to 'AnsiString'
C:\LIB\SecureBlackbox\SBPDF.pas(9200) Warning: W1058 Implicit string cast with potential data loss from 'string' to 'AnsiString'
C:\LIB\SecureBlackbox\SBPDF.pas(9202) Warning: W1058 Implicit string cast with potential data loss from 'string' to 'AnsiString'
C:\LIB\SecureBlackbox\SBPDF.pas(9210) Warning: W1057 Implicit string cast from 'AnsiChar' to 'string'
C:\LIB\SecureBlackbox\SBPDF.pas(9260) Warning: W1058 Implicit string cast with potential data loss from 'string' to 'AnsiString'
C:\LIB\SecureBlackbox\SBPDF.pas(9423) Warning: W1057 Implicit string cast from 'AnsiString' to 'string'

I don't think it should be deployed with such hints/warnings...

thank you, slava


Delphi 2009
Release: PDFBlackbox VCL, source code, Windows installation - Version 7.1.160. Released on 2009-07-08
#10594
Posted: 07/15/2009 08:03:51
by Eugene Mayevski (EldoS Corp.)

And what do you suggest us to do right now?


Sincerely yours
Eugene Mayevski
#10596
Posted: 07/15/2009 08:22:45
by Kvetoslav Jansta (Standard support level)
Joined: 05/06/2008
Posts: 56

Quote
Eugene Mayevski wrote:
And what do you suggest us to do right now?


?


Why this declaration?
S: {$ifndef SB_UNICODE_VCL}string {$else}AnsiString {$endif};
Delphi before 2009 => S = string = AnsiString
Delphi 2009 => S = AnsiString

9128: S, TrimmedS : AnsiString;
9193: S := AnsiString(TElPDFName(Obj).Name);
9200: S := AnsiString(TElPDFString(Obj).OrigStr);
9202: S := AnsiString(TElPDFString(Obj).Str);
9210: if Pos(Char(S[K]), WHITESPACE_CHARS) <= 0 then
9260: S := AnsiString(StrList.Strings[K]);

9423: Elem := Dict.GetItemByName(string(Key));
#10816
Posted: 08/19/2009 02:52:01
by Kvetoslav Jansta (Standard support level)
Joined: 05/06/2008
Posts: 56

???

new version 7.1.162 : new 10 hints & warnings :(
// Delphi 2009

R:\LIB\SecureBlackbox\SBCRLStorage.pas(532) Hint: H2164 Variable 'Size' is declared but never used in 'TElCRLLookup.FindNext'
R:\LIB\SecureBlackbox\SBCRLStorage.pas(533) Hint: H2164 Variable 'dwSize' is declared but never used in 'TElCRLLookup.FindNext'
R:\LIB\SecureBlackbox\SBCRLStorage.pas(534) Hint: H2164 Variable 'Buf' is declared but never used in 'TElCRLLookup.FindNext'
R:\LIB\SecureBlackbox\SBCRLStorage.pas(535) Hint: H2164 Variable 'I' is declared but never used in 'TElCRLLookup.FindNext'
R:\LIB\SecureBlackbox\SBCRLStorage.pas(535) Hint: H2164 Variable 'K' is declared but never used in 'TElCRLLookup.FindNext'
R:\LIB\SecureBlackbox\SBX509Ext.pas(139) Warning: W1010 Method 'Equals' hides virtual method of base type 'TObject'
R:\LIB\SecureBlackbox\SBX509Ext.pas(185) Warning: W1010 Method 'Equals' hides virtual method of base type 'TObject'
R:\LIB\SecureBlackbox\SBX509Ext.pas(3056) Hint: H2164 Variable 'SelfsName' is declared but never used in 'TElGeneralNames.Contains'
R:\LIB\SecureBlackbox\SBCRLStorage.pas(215) Hint: H2077 Value assigned to 'matches' never used
R:\LIB\SecureBlackbox\SBCRLStorage.pas(223) Warning: W1036 Variable 'idx' might not have been initialized
#10820
Posted: 08/19/2009 09:16:57
by Eugene Mayevski (EldoS Corp.)

The only thing I can suggest is to open SecBBox.inc and put the following lines there:

{$warnings off}
{$hints off}

We are focused on new and improved functionality. If we start beautifying the code, we will have no time for the things most of our users want - functionality and security.


Sincerely yours
Eugene Mayevski
#10939
Posted: 09/02/2009 06:22:16
by Kvetoslav Jansta (Standard support level)
Joined: 05/06/2008
Posts: 56

Quote
Eugene Mayevski wrote:
The only thing I can suggest is to open SecBBox.inc and put the following lines there:
{$warnings off} {$hints off}


ou, no, is not ok.

Quote

We are focused on new and improved functionality. If we start beautifying the code, we will have no time for the things most of our users want - functionality and security.


yes, I understand,
but when we are crossing the change to the new Delphi 2009 unicode, we had more than 3400 warnings. We are cleaning all that warnings, and rewriting other codes, because Delphi has true in many of those, especially working with buffers.
And now last only warnings of third party source :(

thank you for new version, but 2 new warnings occured :)

SBX509Ext.pas(139) Warning: W1010 Method 'Equals' hides virtual method of base type 'TObject'
SBX509Ext.pas(185) Warning: W1010 Method 'Equals' hides virtual method of base type 'TObject'
Also by EldoS: BizCrypto
Components for BizTalk® and SQL Server® Integration Services that let you securely store and transfer information in your business automation solutions.

Reply

Statistics

Topic viewed 2266 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!