Message Boards Message Boards

GROUPS:

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

Posted 9 years ago
4436 Views
|
0 Replies
|
1 Total Likes
|
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