Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^5: SWIG and conflicting definitions

by hexcoder (Curate)
on Jan 08, 2016 at 22:36 UTC ( [id://1152352]=note: print w/replies, xml ) Need Help??


in reply to Re^4: SWIG and conflicting definitions
in thread SWIG and conflicting definitions

As suggested by Anonymous Monk you should modify the declarations. Substitute CV by struct cv in lines 1552, 1554 and 1557.

But (as remarked by Anonymous Monk) another problem will show up then with the different prototypes of
void boot_pwiz_swigbindings(PerlInterpreter*, int*) in line 1531 and
SWIGEXPORT void boot_pwiz_swigbindings (pTHXo_ struct cv* cv) from line 1554.

The type of the second parameter int * is incompatible to struct cv*. (The number of parameters seems to be right). It looks like SWIG did not generate this correctly with the supplied template. Maybe the template needs to be updated (line 1531 looks wrong). Anyhow, without access to the complete template and generated file it is quite difficult to guess how this could be rectified.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1152352]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (2)
As of 2024-04-20 12:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found