Message Boards Message Boards

1
|
4867 Views
|
0 Replies
|
1 Total Likes
View groups...
Share
Share this post:

Warning 'WolframLibraryData' differs in levels of indirection from 'int'

Posted 10 years ago
Hello,

When doing code generation according to the instruction from the help resource CCodeGenerator/tutorial/CodeGeneration#407970428 I get the following error message:

xxx.c(7) : warning C4047: 'initializing' : 'WolframLibraryData' differs in levels of indirection from 'int'

for the following line of code:

 WolframLibraryData libData = WolframLibraryData_new(WolframLibraryVersion);

which is basically the exact code that is proposed in the tutorial for CCode Generation.

Any Idea why this happens and how to solve this?

Kind Regards,
Mathias Breuss
POSTED BY: Mathias Breuss
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract