EldoS | Feel safer!

Software components for data protection, secure storage and transfer

PDF BlackBox compilation warnings

Also by EldoS: Callback File System
Create virtual file systems and disks, expose and manage remote data as if they were files on the local disk.
#8889
Posted: 02/13/2009 03:22:22
by Andrew Fionik (Standard support level)
Joined: 12/01/2008
Posts: 2

I've just tried to compile BaseBBox11.dpk and PDFBBox11.dpk. There is depressingly long list of warnings and hints. Can you please reduce amount of compiler messages to zero? I'm using Delphi 2006.

Quote

[Pascal Hint] SBCRL.pas(1019): H2077 Value assigned to 'TElCertificateRevocationList.Add' never used
[Pascal Hint] SBCRL.pas(1085): H2077 Value assigned to 'TElCertificateRevocationList.Remove' never used
[Pascal Hint] SBCryptoProvBuiltInPKI.pas(247): H2219 Private symbol 'TrimParams' declared but never used
[Pascal Warning] SBZUncompressUnit.pas(1785): W1036 Variable 'copy1' might not have been initialized
[Pascal Warning] SBZUncompressUnit.pas(1793): W1036 Variable 'lenn' might not have been initialized
[Pascal Warning] SBBzip2Common.pas(913): W1024 Combining signed and unsigned types - widened both operands
[Pascal Warning] SBBzip2Common.pas(914): W1024 Combining signed and unsigned types - widened both operands
[Pascal Warning] SBBzip2Common.pas(915): W1024 Combining signed and unsigned types - widened both operands
[Pascal Warning] SBBzip2Common.pas(917): W1024 Combining signed and unsigned types - widened both operands
[Pascal Warning] SBBzip2Common.pas(918): W1024 Combining signed and unsigned types - widened both operands
[Pascal Warning] SBBzip2Common.pas(919): W1024 Combining signed and unsigned types - widened both operands
[Pascal Warning] SBBzip2Common.pas(931): W1024 Combining signed and unsigned types - widened both operands
[Pascal Warning] SBBzip2Common.pas(949): W1024 Combining signed and unsigned types - widened both operands
[Pascal Hint] SBBzip2Common.pas(2545): H2077 Value assigned to 'BZ2_decompress' never used
[Pascal Hint] SBBzlib.pas(956): H2077 Value assigned to 'ro_blockSize100k' never used
[Pascal Warning] BaseBBoxD11.dpk(137): W1033 Unit 'SBStringList' implicitly imported into package 'BaseBBoxD11'

#8890
Posted: 02/13/2009 03:54:25
by Eugene Mayevski (EldoS Corp.)

Yes, easily. Just add {$warnings off} to SecBBox.inc


Sincerely yours
Eugene Mayevski
#8920
Posted: 02/16/2009 10:42:45
by Andrew Fionik (Standard support level)
Joined: 12/01/2008
Posts: 2

I think fixing sources is more correct/preferrable way to rid of warnings instead of turning them off, isn't it? W1036 looks scary.
#8921
Posted: 02/16/2009 13:22:45
by Eugene Mayevski (EldoS Corp.)

The compiler is not ideal - sometimes it produces false warnings. For example, if you write

if i = 0 then
t := 1
else
if i <> 0 then
t := 2;

and you get a warning that t wastn't initialized.


Sincerely yours
Eugene Mayevski

Reply

Statistics

Topic viewed 2611 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!