| Summary: | opensp 1.5-r1 undefined unref | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Bernd Martin Wollny <bernd> |
| Component: | Current packages | Assignee: | Alastair Tse (RETIRED) <liquidx> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
Had the same problem. This seems to happen only with gcc 3.3: http://sourceforge.net/tracker/index.php?func=detail&aid=742608&group_id=2115&atid=102115 There is also a patch on the page: http://sourceforge.net/tracker/index.php?func=detail&aid=742214&group_id=2115&atid=302115 thanks andreas i'll look into putting this patch into portage shortly. i've added the gcc 3.3 patch to opensp-1.5-r1 now. can the bug reporter please try and emerge it again? thanks Hello, sorry for the delay, It seemd that the Problem are solved thank you bye bernd thanks for the confirmation |
Hello , in the class Ptr (include/Ptr.h Ptr.cxx) are the member funtction unref undefined. // Class defination ---------------------------------------------------------------------- template<class T> class Ptr { public: Ptr() : ptr_(0) { } Ptr(T *ptr); ~Ptr(); Ptr(const Ptr<T> &); Ptr<T> &operator=(const Ptr<T> &); Ptr<T> &operator=(T *); T *pointer() const { return ptr_; } T *operator->() const { return ptr_; } T &operator*() const { return *ptr_; } void swap(Ptr<T> &p) { T *tem = p.ptr_; p.ptr_ = ptr_; ptr_ = tem; } Boolean isNull() const { return ptr_ == 0; } // operator const void *() const { return ptr_; } void clear(); Boolean operator==(const Ptr<T> &p) const { return ptr_ == p.ptr_; } Boolean operator!=(const Ptr<T> &p) const { return ptr_ != p.ptr_; } // First usage .................. template<class T> Ptr<T>::~Ptr() { if (ptr_) { if (ptr_->unref()) delete ptr_; ptr_ = 0; } } it seemd that the base class are missing bye bernd