Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 369539 - media-gfx/k3d - work/k3d-source- error: call of overloaded ‘ComboBox(Glib::RefPtr<Gtk::ListStore>&)’ is ambiguous
Summary: media-gfx/k3d - work/k3d-source-
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Graphics Project
: 379083 (view as bug list)
Depends on:
Reported: 2011-05-31 16:11 UTC by Pinky
Modified: 2014-05-11 08:12 UTC (History)
3 users (show)

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

build log (build.log,28.55 KB, text/plain)
2011-05-31 16:15 UTC, Pinky
emerge --info (,7.14 KB, text/plain)
2011-06-01 23:24 UTC, Pinky
fix gtkmm-2.24 type cast problem (k3d_gtkmm_2.24.patch,815 bytes, patch)
2011-06-02 03:05 UTC, Pinky
Details | Diff
fix gtkmm-2.24 type cast problem, few more (k3d_gtkmm_2.24_part2.patch,619 bytes, patch)
2011-06-02 12:17 UTC, Pinky
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pinky 2011-05-31 16:11:51 UTC
for seome reason gcc does not type cast Gtk::TreeRow to Gtk::ListStore

Reproducible: Always
Comment 1 Pinky 2011-05-31 16:15:32 UTC
Created attachment 275383 [details]
build log
Comment 2 Wormo (RETIRED) gentoo-dev 2011-06-01 23:05:59 UTC
"If you need support, post the output of 'emerge --info =media-gfx/k3d-', the complete build log and the output of 'emerge -pqv =media-gfx/k3d-'"

One down, two to go ;)

These other steps are important, for instance there will be information about your toolchain.
Comment 3 Pinky 2011-06-01 23:24:58 UTC
Created attachment 275545 [details]
emerge --info
Comment 4 Pinky 2011-06-01 23:28:02 UTC
emerge -pqv =media-gfx/k3d-

media-gfx/k3d-  USE="graphviz jpeg nls openexr png python tiff truetype -3ds -cuda -gnome -gts -imagemagick"
Comment 5 Pinky 2011-06-02 02:57:26 UTC
With dev-cpp/gtkmm-2.22.0 does not generate this error
with dev-cpp/gtkmm-2.24.0 does.

Headers diff for both versions shows that ComboBox has (in 2.24) new definitions and therefore automatic type cast does not work.
Comment 6 Pinky 2011-06-02 03:05:07 UTC
Created attachment 275559 [details, diff]
fix gtkmm-2.24 type cast problem

This fixes this one particular problem with gtkmm-2.24
Comment 7 Pinky 2011-06-02 12:17:43 UTC
Created attachment 275611 [details, diff]
fix gtkmm-2.24 type cast problem, few more
Comment 8 Pinky 2011-06-02 12:20:08 UTC
This only shows where problem is. Backward compatiblile solution (with gtkmm 2.22) would be typecast to proper pointer type.
Comment 9 Sven E. 2011-06-16 03:13:28 UTC
I can confirm this error with gtkmm-2.24 on ~amd64
Comment 10 Diego Elio Pettenò (RETIRED) gentoo-dev 2012-06-19 11:22:07 UTC
*** Bug 379083 has been marked as a duplicate of this bug. ***
Comment 11 Pacho Ramos gentoo-dev 2014-05-11 08:12:38 UTC