Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread TEDBExprValidater.CheckBinaryTypes procedure
Fri, Apr 6 2007 3:58 AMPermanent Link

PK
Tim,

I am exploring the possibility of porting EDB to FPC.  When using FPC to compile the source code, it prompts an error in the TEDBExprValidater.CheckBinaryTypes complaining about
duplicated set members in line 11408, 11419, 11486, 11496.  Upon closer investigation, I found that SUBTYPE_MINMSEC had been duplicated.  From the source code, it seems that the
second SUBTYPE_MINMSEC should be SUBTYPE_SECMSEC instead, but I'm not sure about it.  I guess the duplicated set member escaped the Delphi compiler checking.  

Just want to let you know this in case this were a genuine bug.

PK
Fri, Apr 6 2007 3:32 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com


<< I am exploring the possibility of porting EDB to FPC.  When using FPC to
compile the source code, it prompts an error in the
TEDBExprValidater.CheckBinaryTypes complaining about duplicated set members
in line 11408, 11419, 11486, 11496.  Upon closer investigation, I found that
SUBTYPE_MINMSEC had been duplicated.  From the source code, it seems that
the second SUBTYPE_MINMSEC should be SUBTYPE_SECMSEC instead, but I'm not
sure about it.  I guess the duplicated set member escaped the Delphi
compiler checking.  >>

Yep, you are correct.  It is actually a bug since it excludes valid types as
being usable in a given expression.

--
Tim Young
Elevate Software
www.elevatesoft.com

Image