EldoS | Feel safer!

Software components for data protection, secure storage and transfer

SBPKCS7.pas(1265): W1021 Comparison always evaluates to False

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.
#31807
Posted: 01/03/2015 08:48:55
by Eugene Mayevski (EldoS Corp.)

Quote
Daniel Schaer wrote:
Thank you, I will give it a try when you make it public.


New build is on the site.


Sincerely yours
Eugene Mayevski
#31811
Posted: 01/05/2015 11:14:06
by Daniel Schaer (Standard support level)
Joined: 02/16/2012
Posts: 40

Quote
Eugene Mayevski wrote:
I've checked compilation of the source code of build 264 (the one we'll release tomorrow) and it didn't expose the warning you mention.


Hi Eugene;
I am sorry but, did you published it?
Best regards,
Daniel
#31812
Posted: 01/05/2015 11:57:05
by Eugene Mayevski (EldoS Corp.)

Yes we did and the build has been announced, but it seems that the warning is still reported for users (but not for us) in that build.

In general the warning should be a hint, but the compiler is too dumb for such conclusions. One of ORed subconditions is always false and can be commented out (we've done this for build 265). This doesn't influence evaluation in any way.


Sincerely yours
Eugene Mayevski
#31815
Posted: 01/05/2015 14:19:28
by Daniel Schaer (Standard support level)
Joined: 02/16/2012
Posts: 40

Quote
Eugene Mayevski wrote:
Yes we did and the build has been announced, but it seems that the warning is still reported for users (but not for us) in that build.

In general the warning should be a hint, but the compiler is too dumb for such conclusions. One of ORed subconditions is always false and can be commented out (we've done this for build 265). This doesn't influence evaluation in any way.



I thint this boolean expression is not a problem (at least for me), but I really want to shut-off all the warnings when we compile. I seems you have a WARNINGS ON open in you code.

Daniel
#31818
Posted: 01/06/2015 00:04:22
by Eugene Mayevski (EldoS Corp.)

You were right - there was a {$warnings on} directive that slipped into the code.


Sincerely yours
Eugene Mayevski
#31821
Posted: 01/06/2015 05:21:15
by Daniel Schaer (Standard support level)
Joined: 02/16/2012
Posts: 40

Thank you!
Daniel
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.

Reply

Statistics

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