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

Bug 369539

Summary: media-gfx/k3d 0.7.11.0-r1 - work/k3d-source-0.7.11.0/k3dsdk/ngui/main_document_window.cpp:1572:36: error: call of overloaded ‘ComboBox(Glib::RefPtr<Gtk::ListStore>&)’ is ambiguous
Product: Gentoo Linux Reporter: Pinky <j-pi>
Component: Current packagesAssignee: Gentoo Graphics Project <graphics+disabled>
Status: RESOLVED WONTFIX    
Severity: normal CC: dark, j-pi, v_2e
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build log
emerge --info
fix gtkmm-2.24 type cast problem
fix gtkmm-2.24 type cast problem, few more

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-0.7.11.0-r1', the complete build log and the output of 'emerge -pqv =media-gfx/k3d-0.7.11.0-r1'"

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-0.7.11.0-r1

media-gfx/k3d-0.7.11.0-r1  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
dropped