E2040 Declaration terminated incorrectly

Discussion of open issues, suggestions and bugs regarding network security and data protection solution - SecureBridge
Post Reply
Wood1233
Posts: 4
Joined: Mon 10 Sep 2012 14:48

E2040 Declaration terminated incorrectly

Post by Wood1233 » Mon 10 Sep 2012 15:09

I just downloaded securebridge for RAD Studio XE2. I put a TScSSHClient component onto my form and after having some issues with that realized I somehow got an old version of securebridge. I downloaded 4.1.3 and this problem went away. Then I put a TScSFTPClient component onto the form and build. I get this error.

ScSFTPConsts.hpp(111): E2040 Declaration terminated incorrectly
ScSFTPConsts.hpp(112): E2040 Declaration terminated incorrectly
ScSFTPConsts.hpp(113): E2040 Declaration terminated incorrectly

Does anyone have any idea what is wrong here, the declaration of these are just like the other ones above and below and I know I shouldn't have to change code in source files to get something to work so is this a known bug or did I miss something?

AndreyZ

Re: E2040 Declaration terminated incorrectly

Post by AndreyZ » Tue 11 Sep 2012 13:29

Hello,

Thank you for the information. We have reproduced the problem and investigation of the problem is in progress. As soon as we have any results, we will let you know.

Wood1233
Posts: 4
Joined: Mon 10 Sep 2012 14:48

Re: E2040 Declaration terminated incorrectly

Post by Wood1233 » Tue 11 Sep 2012 13:38

Thank you Audrey, I did find that if I commented out those lines that the program would build. As all I am using this for is to upload a file to an sftp site I do not know how important those lines are going to be. I will check back to see if there is a fix for it, but until then I am running with them commented out.

Post Reply