EldoS | Feel safer!

Software components for data protection, secure storage and transfer

[C++] Error in sbcore.h Header File

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.
#25573
Posted: 07/09/2013 02:36:39
by Moon Set (Basic support level)
Joined: 07/09/2013
Posts: 3

Hi, I have just build and link to my project the static secureBlackBox librrary as descriped on the "First Step" of the web site documentaion, However I got a run time error once I include any header file in my project. It says that:
Code
"error: expected ')' before '*' token"
in the sbcore.h file.

and It points this error to these line:
Code
typedef int32_t (SB_CALLBACK * TSBCallbackStreamReadFunc)(void * Buffer, int32_t Count, void * Data);
typedef int32_t (SB_CALLBACK * TSBCallbackStreamWriteFunc)(void * Buffer, int32_t Count, void * Data);
typedef int64_t (SB_CALLBACK * TSBCallbackStreamSeekFunc)(int64_t Offset, uint16_t Origin, void * Data);


If any one can help me to solve this problem.
#25574
Posted: 07/09/2013 02:44:34
by Vsevolod Ievgiienko (EldoS Corp.)

Thank you for contacting us.

Please try to include "sball.h" header instead of "sbcore.h".
#25575
Posted: 07/09/2013 02:53:18
by Moon Set (Basic support level)
Joined: 07/09/2013
Posts: 3

In fact I didn't include "sbcore.h" file, I have now just included only "sball.h" file but it gave the same error pointed to "sbcore.h" file and not only one orrer but more than 23000 error! I think if the errors related to "sbcore.h" file are solved the others will disapear.
#25576
Posted: 07/09/2013 02:56:10
by Vsevolod Ievgiienko (EldoS Corp.)

What SecureBlackbox version (10 or 11) and IDE do you use?
#25577
Posted: 07/09/2013 03:01:21
by Moon Set (Basic support level)
Joined: 07/09/2013
Posts: 3

The latest one. And I am using Qt Environment for qt and c++ development in ubuntu. It uses gcc compiler
#25578
Posted: 07/09/2013 03:45:17
by Mykola Olshevsky (Basic support level)
Joined: 07/07/2005
Posts: 450

Hi. Please check gcc compiler switches regarding C++ language mode. Most likely headers are processed in C language mode or somthing like this.
Also by EldoS: Solid File System
A virtual file system that offers a feature-rich storage for application documents and data with built-in compression and encryption.

Reply

Statistics

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