View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002745 | DarkRadiant | Design/Coding | public | 30.04.2011 07:21 | 11.10.2012 19:04 |
| Reporter | greebo | Assigned To | greebo | ||
| Priority | normal | Severity | normal | Reproducibility | have not tried |
| Status | closed | Resolution | fixed | ||
| Product Version | 1.6.1 | ||||
| Target Version | 1.7.0 | Fixed in Version | 1.7.0 | ||
| Summary | 0002745: Compilation error in g++ 4.5.2 | ||||
| Description | EffectArgumentItem.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>&) | ||||
| Tags | No tags attached. | ||||
| 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... | |
| 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 |