Unused variables when param is DIRECTION_OUT
Bug #1829395 reported by
Paul Grinberg
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PyBindGen |
New
|
Undecided
|
Unassigned |
Bug Description
My c++ library method signature looks like this
status_enum get(const std::string &name, std::string &ret_val);
I wrapped in my the following PyBindGen code
mod.
This works, except that the auto-generated C code creates variables that are not used by the wrapper function, causing warnings. In my case, warnings are treated as errors, so it's a problem.
To post a comment you must log in.