[Bug c++/69808] error: could not convert 'count' from 'eVeDisplayMenu' to 'int'
martin.gansser at gmail dot com
gcc-bugzilla@gcc.gnu.org
Sun Feb 14 09:26:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69808
mgansser at alice dot de <martin.gansser at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |FIXED
--- Comment #1 from mgansser at alice dot de <martin.gansser at gmail dot com> ---
issue was fixed by this patch:
--- a/coreengine/definitions.h
+++ b/coreengine/definitions.h
@@ -63,7 +63,7 @@ enum class eVeDisplayMenu {
};
enum class eVeDisplayMenuMain {
- timers = eVeDisplayMenu::count,
+ timers = (int)eVeDisplayMenu::count,
devices,
currentweather,
currentschedule,
@@ -78,7 +78,7 @@ enum class eVeDisplayMenuMain {
};
enum class eVeDisplayDetailedMenu {
- detailheader = eVeDisplayMenu::count,
+ detailheader = (int)eVeDisplayMenu::count,
tablabels,
count
...
More information about the Gcc-bugs
mailing list