Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 56478 - A type in treepath.h that breaks compilation or gtkmm-2.2.11
Summary: A type in treepath.h that breaks compilation or gtkmm-2.2.11
Status: RESOLVED DUPLICATE of bug 49350
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-08 12:44 UTC by Lance Zhang
Modified: 2005-07-17 13:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***