Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 56478

Summary: A type in treepath.h that breaks compilation or gtkmm-2.2.11
Product: Gentoo Linux Reporter: Lance Zhang <zhangp8>
Component: [OLD] UnspecifiedAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Lance Zhang 2004-07-08 12:44:50 UTC
PROBLEM CODE:
// in /gtkmm-2.2.11/gtk/gtkmm/treepath.h

template <class In>
void TreePath::append(In pbegin, In pend)
{
  // push_back() can't throw -- if it could, this code wouldn't be strongly exception-safe.
  for(; pbegin != pend; ++pbegin)
    this->push_back(*begin);
}

Here begin is abviously a typo of pbegin. Change it and it's solved.



Reproducible: Always
Steps to Reproduce:
emerge sync
emerge gtkmm
Comment 1 Lance Zhang 2004-07-08 12:46:27 UTC
The code is in line no. 297
Comment 2 Jure Repinc 2004-07-11 01:02:45 UTC
I couldn't compile it with GCC 3.4.0 for AMD64 and after fixing source in portage working folder this and runing
ebuild /path/to/ebuild compile install qmerge
It compiled just fine.
Comment 3 foser (RETIRED) gentoo-dev 2004-07-12 08:44:29 UTC

*** This bug has been marked as a duplicate of 49350 ***