Header typo in libopenbabel-dev

Bug #280992 reported by ihaque
6
Affects Status Importance Assigned to Milestone
openbabel (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: libopenbabel-dev

Header file /usr/include/openbabel-2.0/openbabel/generic.h has a typo in it that prevents compilation of the OpenBabel::OBPairTemplate class:

/usr/include/openbabel-2.0/openbabel/generic.h(302): error: "ValueT" is not a nonstatic data member or base class of class "OpenBabel::OBPairTemplate<ValueT>"

This is caused by a typo in which the constructor attempts to initialize ValueT (a template type parameter) rather than _value (the actual variable). The attached patch fixes the problem.

Revision history for this message
ihaque (ihaque) wrote :
Changed in openbabel (Ubuntu):
status: New → Confirmed
Changed in openbabel (Ubuntu):
assignee: nobody → David Stansby (dstansby)
status: Confirmed → In Progress
Revision history for this message
David Stansby (dstansby-deactivatedaccount) wrote :

Please could you try updating to the newest version of openbabel and try and see if this bug exists. Because I can't seem to find the code you've mentioned in your description, I'm assuming this bug is no longer a problem.

Changed in openbabel (Ubuntu):
assignee: David Stansby (dstansby) → nobody
status: In Progress → Confirmed
Changed in openbabel (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Daniel Leidert (dleidert-deactivatedaccount) wrote :

Closing after quite some time without repsonse from the reporter.

Changed in openbabel (Ubuntu):
status: Incomplete → Invalid
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.