View Issue Details

IDProjectCategoryView StatusLast Update
0002745DarkRadiantDesign/Codingpublic11.10.2012 19:04
Reportergreebo Assigned Togreebo  
PrioritynormalSeveritynormalReproducibilityhave not tried
Status closedResolutionfixed 
Product Version1.6.1 
Target Version1.7.0Fixed in Version1.7.0 
Summary0002745: Compilation error in g++ 4.5.2
DescriptionEffectArgumentItem.cpp: In constructor ‘StimTypeArgument::StimTypeArgument(ResponseEffect::Argument&, const StimTypes&)’:
EffectArgumentItem.cpp:142:69: error: call of overloaded ‘ComboBox(const Glib::RefPtr<Gtk::ListStore>&)’ is ambiguous
/usr/include/gtkmm-2.4/gtkmm/combobox.h:145:12: note: candidates are: Gtk::ComboBox::ComboBox(bool)
/usr/include/gtkmm-2.4/gtkmm/combobox.h:137:12: note: Gtk::ComboBox::ComboBox(const Glib::RefPtr<Gtk::TreeModel>&)
TagsNo tags attached.

Activities

greebo

greebo

30.04.2011 19:08

administrator   ~0003830

Fixed in SVN. g++ 4.5.2 is *very* picky about explicit constructors it seems. There seems to be a constructor overload Gtk::ComboBox(bool) which is causing a bit of trouble when passing a Glib::RefPtr<Gtk::ListStore> that should be applicable to the explicit Gtk::ComboBox(const Glib::RefPtr<Gtk::TreeModel>&) constructor overload, but g++ seems to think the RefPtr<ListStore> argument is as applicable to bool as to the Glib::RefPtr<TreeModel> it derives from...

Issue History

Date Modified Username Field Change
30.04.2011 07:21 greebo New Issue
30.04.2011 07:21 greebo Status new => confirmed
30.04.2011 19:05 greebo Assigned To => greebo
30.04.2011 19:05 greebo Status confirmed => assigned
30.04.2011 19:05 greebo Status assigned => resolved
30.04.2011 19:05 greebo Fixed in Version => 1.6.2
30.04.2011 19:05 greebo Resolution open => fixed
30.04.2011 19:08 greebo Note Added: 0003830
31.07.2011 05:24 greebo Target Version 1.6.2 => 1.7.0
31.07.2011 05:25 greebo Fixed in Version 1.6.2 => 1.7.0
11.10.2012 19:04 greebo Status resolved => closed