Generated helper class missing throw declarations for virtual methods

Bug #521020 reported by James Vogel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
PyBindGen
Fix Released
Undecided
Unassigned

Bug Description

Pure virtual class declares
virtual int throw_error throw (std::exception)

But generated helper class (via gccxmlparser) does not include the throw declaration. This appears to only apply to the virtual declaration -- if the class is extended and the virtual method overridden, the non-virtual method correctly receives the throw clause, but the parent version is still missing it (creating a build error).

Related branches

Gustavo Carneiro (gjc)
Changed in pybindgen:
status: New → Fix Committed
Revision history for this message
James Vogel (jvogel) wrote :

Appears to be working now. Much appreciated.

Gustavo Carneiro (gjc)
Changed in pybindgen:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.