In file included from /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobject.h:46:0, from /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/QObject:1, from ../luis/application/sources/MainTimer.h:18, from ../luis/application/sources/MainTimer.cpp:15: /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:114:73: error: ‘qt_getEnumMetaObject’ is neither function nor member function; cannot be declared friend friend Q_DECL_CONSTEXPR const QMetaObject *qt_getEnumMetaObject(ENUM) noexcept { return &staticMetaObject; } \ ^ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:116:30: note: in expansion of macro ‘Q_ENUM_IMPL’ #define Q_ENUM(x) Q_ENUMS(x) Q_ENUM_IMPL(x) ^~~~~~~~~~~ ../luis/application/sources/gui/GuiGlobals.h:461:9: note: in expansion of macro ‘Q_ENUM’ Q_ENUM(TD_Prime_States) ^~~~~~ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:114:73: error: non-static data member ‘qt_getEnumMetaObject’ declared ‘constexpr’ friend Q_DECL_CONSTEXPR const QMetaObject *qt_getEnumMetaObject(ENUM) noexcept { return &staticMetaObject; } \ ^ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:116:30: note: in expansion of macro ‘Q_ENUM_IMPL’ #define Q_ENUM(x) Q_ENUMS(x) Q_ENUM_IMPL(x) ^~~~~~~~~~~ ../luis/application/sources/gui/GuiGlobals.h:461:9: note: in expansion of macro ‘Q_ENUM’ Q_ENUM(TD_Prime_States) ^~~~~~ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:114:48: error: expected ‘;’ at end of member declaration friend Q_DECL_CONSTEXPR const QMetaObject *qt_getEnumMetaObject(ENUM) noexcept { return &staticMetaObject; } \ ^ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:116:30: note: in expansion of macro ‘Q_ENUM_IMPL’ #define Q_ENUM(x) Q_ENUMS(x) Q_ENUM_IMPL(x) ^~~~~~~~~~~ ../luis/application/sources/gui/GuiGlobals.h:461:9: note: in expansion of macro ‘Q_ENUM’ Q_ENUM(TD_Prime_States) ^~~~~~ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:114:73: error: ISO C++ forbids declaration of ‘TD_Prime_States’ with no type [-fpermissive] friend Q_DECL_CONSTEXPR const QMetaObject *qt_getEnumMetaObject(ENUM) noexcept { return &staticMetaObject; } \ ^ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:116:30: note: in expansion of macro ‘Q_ENUM_IMPL’ #define Q_ENUM(x) Q_ENUMS(x) Q_ENUM_IMPL(x) ^~~~~~~~~~~ ../luis/application/sources/gui/GuiGlobals.h:461:9: note: in expansion of macro ‘Q_ENUM’ Q_ENUM(TD_Prime_States) ^~~~~~ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:114:73: error: expected ‘;’ at end of member declaration friend Q_DECL_CONSTEXPR const QMetaObject *qt_getEnumMetaObject(ENUM) noexcept { return &staticMetaObject; } \ ^ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:116:30: note: in expansion of macro ‘Q_ENUM_IMPL’ #define Q_ENUM(x) Q_ENUMS(x) Q_ENUM_IMPL(x) ^~~~~~~~~~~ ../luis/application/sources/gui/GuiGlobals.h:461:9: note: in expansion of macro ‘Q_ENUM’ Q_ENUM(TD_Prime_States) ^~~~~~ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:114:75: error: expected unqualified-id before ‘noexcept’ friend Q_DECL_CONSTEXPR const QMetaObject *qt_getEnumMetaObject(ENUM) noexcept { return &staticMetaObject; } \ ^ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:116:30: note: in expansion of macro ‘Q_ENUM_IMPL’ #define Q_ENUM(x) Q_ENUMS(x) Q_ENUM_IMPL(x) ^~~~~~~~~~~ ../luis/application/sources/gui/GuiGlobals.h:461:9: note: in expansion of macro ‘Q_ENUM’ Q_ENUM(TD_Prime_States) ^~~~~~ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:115:60: error: ‘qt_getEnumName’ is neither function nor member function; cannot be declared friend friend Q_DECL_CONSTEXPR const char *qt_getEnumName(ENUM) noexcept { return #ENUM; } ^ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:116:30: note: in expansion of macro ‘Q_ENUM_IMPL’ #define Q_ENUM(x) Q_ENUMS(x) Q_ENUM_IMPL(x) ^~~~~~~~~~~ ../luis/application/sources/gui/GuiGlobals.h:461:9: note: in expansion of macro ‘Q_ENUM’ Q_ENUM(TD_Prime_States) ^~~~~~ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:115:60: error: non-static data member ‘qt_getEnumName’ declared ‘constexpr’ friend Q_DECL_CONSTEXPR const char *qt_getEnumName(ENUM) noexcept { return #ENUM; } ^ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:116:30: note: in expansion of macro ‘Q_ENUM_IMPL’ #define Q_ENUM(x) Q_ENUMS(x) Q_ENUM_IMPL(x) ^~~~~~~~~~~ ../luis/application/sources/gui/GuiGlobals.h:461:9: note: in expansion of macro ‘Q_ENUM’ Q_ENUM(TD_Prime_States) ^~~~~~ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:115:41: error: expected ‘;’ at end of member declaration friend Q_DECL_CONSTEXPR const char *qt_getEnumName(ENUM) noexcept { return #ENUM; } ^ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:116:30: note: in expansion of macro ‘Q_ENUM_IMPL’ #define Q_ENUM(x) Q_ENUMS(x) Q_ENUM_IMPL(x) ^~~~~~~~~~~ ../luis/application/sources/gui/GuiGlobals.h:461:9: note: in expansion of macro ‘Q_ENUM’ Q_ENUM(TD_Prime_States) ^~~~~~ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:115:60: error: ISO C++ forbids declaration of ‘TD_Prime_States’ with no type [-fpermissive] friend Q_DECL_CONSTEXPR const char *qt_getEnumName(ENUM) noexcept { return #ENUM; } ^ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:116:30: note: in expansion of macro ‘Q_ENUM_IMPL’ #define Q_ENUM(x) Q_ENUMS(x) Q_ENUM_IMPL(x) ^~~~~~~~~~~ ../luis/application/sources/gui/GuiGlobals.h:461:9: note: in expansion of macro ‘Q_ENUM’ Q_ENUM(TD_Prime_States) ^~~~~~ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:115:60: error: expected ‘;’ at end of member declaration friend Q_DECL_CONSTEXPR const char *qt_getEnumName(ENUM) noexcept { return #ENUM; } ^ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:116:30: note: in expansion of macro ‘Q_ENUM_IMPL’ #define Q_ENUM(x) Q_ENUMS(x) Q_ENUM_IMPL(x) ^~~~~~~~~~~ ../luis/application/sources/gui/GuiGlobals.h:461:9: note: in expansion of macro ‘Q_ENUM’ Q_ENUM(TD_Prime_States) ^~~~~~ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:115:60: error: redeclaration of ‘int Gui::GuiActions::TD_Prime_States’ friend Q_DECL_CONSTEXPR const char *qt_getEnumName(ENUM) noexcept { return #ENUM; } ^ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:116:30: note: in expansion of macro ‘Q_ENUM_IMPL’ #define Q_ENUM(x) Q_ENUMS(x) Q_ENUM_IMPL(x) ^~~~~~~~~~~ ../luis/application/sources/gui/GuiGlobals.h:461:9: note: in expansion of macro ‘Q_ENUM’ Q_ENUM(TD_Prime_States) ^~~~~~ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:114:73: note: previous declaration ‘int Gui::GuiActions::TD_Prime_States’ friend Q_DECL_CONSTEXPR const QMetaObject *qt_getEnumMetaObject(ENUM) noexcept { return &staticMetaObject; } \ ^ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:116:30: note: in expansion of macro ‘Q_ENUM_IMPL’ #define Q_ENUM(x) Q_ENUMS(x) Q_ENUM_IMPL(x) ^~~~~~~~~~~ ../luis/application/sources/gui/GuiGlobals.h:461:9: note: in expansion of macro ‘Q_ENUM’ Q_ENUM(TD_Prime_States) ^~~~~~ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:115:62: error: expected unqualified-id before ‘noexcept’ friend Q_DECL_CONSTEXPR const char *qt_getEnumName(ENUM) noexcept { return #ENUM; } ^ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:116:30: note: in expansion of macro ‘Q_ENUM_IMPL’ #define Q_ENUM(x) Q_ENUMS(x) Q_ENUM_IMPL(x) ^~~~~~~~~~~ ../luis/application/sources/gui/GuiGlobals.h:461:9: note: in expansion of macro ‘Q_ENUM’ Q_ENUM(TD_Prime_States) ^~~~~~ In file included from ../luis/application/sources/storage/Logger.h:25:0, from ../luis/application/sources/MainTimer.cpp:21: ../luis/application/sources/gui/GuiGlobals.h:541:25: error: ‘TD_Prime_States’ in ‘class Gui::GuiActions’ does not name a type typedef GuiActions::TD_Prime_States GuiPreTreatmentPrimeStates; ^~~~~~~~~~~~~~~ In file included from /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobject.h:46:0, from /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/QObject:1, from ../luis/application/sources/MainTimer.h:18, from ../luis/application/sources/MainTimer.cpp:15: /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:114:73: note: ‘Gui::GuiActions::TD_Prime_States’ declared here friend Q_DECL_CONSTEXPR const QMetaObject *qt_getEnumMetaObject(ENUM) noexcept { return &staticMetaObject; } \ ^ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:116:30: note: in expansion of macro ‘Q_ENUM_IMPL’ #define Q_ENUM(x) Q_ENUMS(x) Q_ENUM_IMPL(x) ^~~~~~~~~~~ ../luis/application/sources/gui/GuiGlobals.h:461:9: note: in expansion of macro ‘Q_ENUM’ Q_ENUM(TD_Prime_States) ^~~~~~ In file included from /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobject.h:46:0, from /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qthread.h:44, from /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/QThread:1, from ../luis/application/sources/Threads.h:18, from ../luis/application/sources/Threads.cpp:15: /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:114:73: error: ‘qt_getEnumMetaObject’ is neither function nor member function; cannot be declared friend friend Q_DECL_CONSTEXPR const QMetaObject *qt_getEnumMetaObject(ENUM) noexcept { return &staticMetaObject; } \ ^ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:116:30: note: in expansion of macro ‘Q_ENUM_IMPL’ #define Q_ENUM(x) Q_ENUMS(x) Q_ENUM_IMPL(x) ^~~~~~~~~~~ ../luis/application/sources/gui/GuiGlobals.h:461:9: note: in expansion of macro ‘Q_ENUM’ Q_ENUM(TD_Prime_States) ^~~~~~ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:114:73: error: non-static data member ‘qt_getEnumMetaObject’ declared ‘constexpr’ friend Q_DECL_CONSTEXPR const QMetaObject *qt_getEnumMetaObject(ENUM) noexcept { return &staticMetaObject; } \ ^ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:116:30: note: in expansion of macro ‘Q_ENUM_IMPL’ #define Q_ENUM(x) Q_ENUMS(x) Q_ENUM_IMPL(x) ^~~~~~~~~~~ ../luis/application/sources/gui/GuiGlobals.h:461:9: note: in expansion of macro ‘Q_ENUM’ Q_ENUM(TD_Prime_States) ^~~~~~ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:114:48: error: expected ‘;’ at end of member declaration friend Q_DECL_CONSTEXPR const QMetaObject *qt_getEnumMetaObject(ENUM) noexcept { return &staticMetaObject; } \ ^ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:116:30: note: in expansion of macro ‘Q_ENUM_IMPL’ #define Q_ENUM(x) Q_ENUMS(x) Q_ENUM_IMPL(x) ^~~~~~~~~~~ ../luis/application/sources/gui/GuiGlobals.h:461:9: note: in expansion of macro ‘Q_ENUM’ Q_ENUM(TD_Prime_States) ^~~~~~ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:114:73: error: ISO C++ forbids declaration of ‘TD_Prime_States’ with no type [-fpermissive] friend Q_DECL_CONSTEXPR const QMetaObject *qt_getEnumMetaObject(ENUM) noexcept { return &staticMetaObject; } \ ^ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:116:30: note: in expansion of macro ‘Q_ENUM_IMPL’ #define Q_ENUM(x) Q_ENUMS(x) Q_ENUM_IMPL(x) ^~~~~~~~~~~ ../luis/application/sources/gui/GuiGlobals.h:461:9: note: in expansion of macro ‘Q_ENUM’ Q_ENUM(TD_Prime_States) ^~~~~~ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:114:73: error: expected ‘;’ at end of member declaration friend Q_DECL_CONSTEXPR const QMetaObject *qt_getEnumMetaObject(ENUM) noexcept { return &staticMetaObject; } \ ^ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:116:30: note: in expansion of macro ‘Q_ENUM_IMPL’ #define Q_ENUM(x) Q_ENUMS(x) Q_ENUM_IMPL(x) ^~~~~~~~~~~ ../luis/application/sources/gui/GuiGlobals.h:461:9: note: in expansion of macro ‘Q_ENUM’ Q_ENUM(TD_Prime_States) ^~~~~~ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:114:75: error: expected unqualified-id before ‘noexcept’ friend Q_DECL_CONSTEXPR const QMetaObject *qt_getEnumMetaObject(ENUM) noexcept { return &staticMetaObject; } \ ^ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:116:30: note: in expansion of macro ‘Q_ENUM_IMPL’ #define Q_ENUM(x) Q_ENUMS(x) Q_ENUM_IMPL(x) ^~~~~~~~~~~ ../luis/application/sources/gui/GuiGlobals.h:461:9: note: in expansion of macro ‘Q_ENUM’ Q_ENUM(TD_Prime_States) ^~~~~~ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:115:60: error: ‘qt_getEnumName’ is neither function nor member function; cannot be declared friend friend Q_DECL_CONSTEXPR const char *qt_getEnumName(ENUM) noexcept { return #ENUM; } ^ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:116:30: note: in expansion of macro ‘Q_ENUM_IMPL’ #define Q_ENUM(x) Q_ENUMS(x) Q_ENUM_IMPL(x) ^~~~~~~~~~~ ../luis/application/sources/gui/GuiGlobals.h:461:9: note: in expansion of macro ‘Q_ENUM’ Q_ENUM(TD_Prime_States) ^~~~~~ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:115:60: error: non-static data member ‘qt_getEnumName’ declared ‘constexpr’ friend Q_DECL_CONSTEXPR const char *qt_getEnumName(ENUM) noexcept { return #ENUM; } ^ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:116:30: note: in expansion of macro ‘Q_ENUM_IMPL’ #define Q_ENUM(x) Q_ENUMS(x) Q_ENUM_IMPL(x) ^~~~~~~~~~~ ../luis/application/sources/gui/GuiGlobals.h:461:9: note: in expansion of macro ‘Q_ENUM’ Q_ENUM(TD_Prime_States) ^~~~~~ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:115:41: error: expected ‘;’ at end of member declaration friend Q_DECL_CONSTEXPR const char *qt_getEnumName(ENUM) noexcept { return #ENUM; } ^ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:116:30: note: in expansion of macro ‘Q_ENUM_IMPL’ #define Q_ENUM(x) Q_ENUMS(x) Q_ENUM_IMPL(x) ^~~~~~~~~~~ ../luis/application/sources/gui/GuiGlobals.h:461:9: note: in expansion of macro ‘Q_ENUM’ Q_ENUM(TD_Prime_States) ^~~~~~ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:115:60: error: ISO C++ forbids declaration of ‘TD_Prime_States’ with no type [-fpermissive] friend Q_DECL_CONSTEXPR const char *qt_getEnumName(ENUM) noexcept { return #ENUM; } ^ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:116:30: note: in expansion of macro ‘Q_ENUM_IMPL’ #define Q_ENUM(x) Q_ENUMS(x) Q_ENUM_IMPL(x) ^~~~~~~~~~~ ../luis/application/sources/gui/GuiGlobals.h:461:9: note: in expansion of macro ‘Q_ENUM’ Q_ENUM(TD_Prime_States) ^~~~~~ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:115:60: error: expected ‘;’ at end of member declaration friend Q_DECL_CONSTEXPR const char *qt_getEnumName(ENUM) noexcept { return #ENUM; } ^ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:116:30: note: in expansion of macro ‘Q_ENUM_IMPL’ #define Q_ENUM(x) Q_ENUMS(x) Q_ENUM_IMPL(x) ^~~~~~~~~~~ ../luis/application/sources/gui/GuiGlobals.h:461:9: note: in expansion of macro ‘Q_ENUM’ Q_ENUM(TD_Prime_States) ^~~~~~ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:115:60: error: redeclaration of ‘int Gui::GuiActions::TD_Prime_States’ friend Q_DECL_CONSTEXPR const char *qt_getEnumName(ENUM) noexcept { return #ENUM; } ^ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:116:30: note: in expansion of macro ‘Q_ENUM_IMPL’ #define Q_ENUM(x) Q_ENUMS(x) Q_ENUM_IMPL(x) ^~~~~~~~~~~ ../luis/application/sources/gui/GuiGlobals.h:461:9: note: in expansion of macro ‘Q_ENUM’ Q_ENUM(TD_Prime_States) ^~~~~~ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:114:73: note: previous declaration ‘int Gui::GuiActions::TD_Prime_States’ friend Q_DECL_CONSTEXPR const QMetaObject *qt_getEnumMetaObject(ENUM) noexcept { return &staticMetaObject; } \ ^ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:116:30: note: in expansion of macro ‘Q_ENUM_IMPL’ #define Q_ENUM(x) Q_ENUMS(x) Q_ENUM_IMPL(x) ^~~~~~~~~~~ ../luis/application/sources/gui/GuiGlobals.h:461:9: note: in expansion of macro ‘Q_ENUM’ Q_ENUM(TD_Prime_States) ^~~~~~ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:115:62: error: expected unqualified-id before ‘noexcept’ friend Q_DECL_CONSTEXPR const char *qt_getEnumName(ENUM) noexcept { return #ENUM; } ^ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:116:30: note: in expansion of macro ‘Q_ENUM_IMPL’ #define Q_ENUM(x) Q_ENUMS(x) Q_ENUM_IMPL(x) ^~~~~~~~~~~ ../luis/application/sources/gui/GuiGlobals.h:461:9: note: in expansion of macro ‘Q_ENUM’ Q_ENUM(TD_Prime_States) ^~~~~~ In file included from /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobject.h:46:0, from /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/QObject:1, from ../luis/application/sources/AlarmGenerator.h:19, from ../luis/application/sources/AlarmGenerator.cpp:19: /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:114:73: error: ‘qt_getEnumMetaObject’ is neither function nor member function; cannot be declared friend friend Q_DECL_CONSTEXPR const QMetaObject *qt_getEnumMetaObject(ENUM) noexcept { return &staticMetaObject; } \ ^ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:116:30: note: in expansion of macro ‘Q_ENUM_IMPL’ #define Q_ENUM(x) Q_ENUMS(x) Q_ENUM_IMPL(x) ^~~~~~~~~~~ ../luis/application/sources/gui/GuiGlobals.h:461:9: note: in expansion of macro ‘Q_ENUM’ Q_ENUM(TD_Prime_States) ^~~~~~ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:114:73: error: non-static data member ‘qt_getEnumMetaObject’ declared ‘constexpr’ friend Q_DECL_CONSTEXPR const QMetaObject *qt_getEnumMetaObject(ENUM) noexcept { return &staticMetaObject; } \ ^ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:116:30: note: in expansion of macro ‘Q_ENUM_IMPL’ #define Q_ENUM(x) Q_ENUMS(x) Q_ENUM_IMPL(x) ^~~~~~~~~~~ ../luis/application/sources/gui/GuiGlobals.h:461:9: note: in expansion of macro ‘Q_ENUM’ Q_ENUM(TD_Prime_States) ^~~~~~ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:114:48: error: expected ‘;’ at end of member declaration friend Q_DECL_CONSTEXPR const QMetaObject *qt_getEnumMetaObject(ENUM) noexcept { return &staticMetaObject; } \ ^ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:116:30: note: in expansion of macro ‘Q_ENUM_IMPL’ #define Q_ENUM(x) Q_ENUMS(x) Q_ENUM_IMPL(x) ^~~~~~~~~~~ ../luis/application/sources/gui/GuiGlobals.h:461:9: note: in expansion of macro ‘Q_ENUM’ Q_ENUM(TD_Prime_States) ^~~~~~ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:114:73: error: ISO C++ forbids declaration of ‘TD_Prime_States’ with no type [-fpermissive] friend Q_DECL_CONSTEXPR const QMetaObject *qt_getEnumMetaObject(ENUM) noexcept { return &staticMetaObject; } \ ^ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:116:30: note: in expansion of macro ‘Q_ENUM_IMPL’ #define Q_ENUM(x) Q_ENUMS(x) Q_ENUM_IMPL(x) ^~~~~~~~~~~ ../luis/application/sources/gui/GuiGlobals.h:461:9: note: in expansion of macro ‘Q_ENUM’ Q_ENUM(TD_Prime_States) ^~~~~~ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:114:73: error: expected ‘;’ at end of member declaration friend Q_DECL_CONSTEXPR const QMetaObject *qt_getEnumMetaObject(ENUM) noexcept { return &staticMetaObject; } \ ^ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:116:30: note: in expansion of macro ‘Q_ENUM_IMPL’ #define Q_ENUM(x) Q_ENUMS(x) Q_ENUM_IMPL(x) ^~~~~~~~~~~ ../luis/application/sources/gui/GuiGlobals.h:461:9: note: in expansion of macro ‘Q_ENUM’ Q_ENUM(TD_Prime_States) ^~~~~~ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:114:75: error: expected unqualified-id before ‘noexcept’ friend Q_DECL_CONSTEXPR const QMetaObject *qt_getEnumMetaObject(ENUM) noexcept { return &staticMetaObject; } \ ^ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:116:30: note: in expansion of macro ‘Q_ENUM_IMPL’ #define Q_ENUM(x) Q_ENUMS(x) Q_ENUM_IMPL(x) ^~~~~~~~~~~ ../luis/application/sources/gui/GuiGlobals.h:461:9: note: in expansion of macro ‘Q_ENUM’ Q_ENUM(TD_Prime_States) ^~~~~~ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:115:60: error: ‘qt_getEnumName’ is neither function nor member function; cannot be declared friend friend Q_DECL_CONSTEXPR const char *qt_getEnumName(ENUM) noexcept { return #ENUM; } ^ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:116:30: note: in expansion of macro ‘Q_ENUM_IMPL’ #define Q_ENUM(x) Q_ENUMS(x) Q_ENUM_IMPL(x) ^~~~~~~~~~~ ../luis/application/sources/gui/GuiGlobals.h:461:9: note: in expansion of macro ‘Q_ENUM’ Q_ENUM(TD_Prime_States) ^~~~~~ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:115:60: error: non-static data member ‘qt_getEnumName’ declared ‘constexpr’ friend Q_DECL_CONSTEXPR const char *qt_getEnumName(ENUM) noexcept { return #ENUM; } ^ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:116:30: note: in expansion of macro ‘Q_ENUM_IMPL’ #define Q_ENUM(x) Q_ENUMS(x) Q_ENUM_IMPL(x) ^~~~~~~~~~~ ../luis/application/sources/gui/GuiGlobals.h:461:9: note: in expansion of macro ‘Q_ENUM’ Q_ENUM(TD_Prime_States) ^~~~~~ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:115:41: error: expected ‘;’ at end of member declaration friend Q_DECL_CONSTEXPR const char *qt_getEnumName(ENUM) noexcept { return #ENUM; } ^ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:116:30: note: in expansion of macro ‘Q_ENUM_IMPL’ #define Q_ENUM(x) Q_ENUMS(x) Q_ENUM_IMPL(x) ^~~~~~~~~~~ ../luis/application/sources/gui/GuiGlobals.h:461:9: note: in expansion of macro ‘Q_ENUM’ Q_ENUM(TD_Prime_States) ^~~~~~ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:115:60: error: ISO C++ forbids declaration of ‘TD_Prime_States’ with no type [-fpermissive] friend Q_DECL_CONSTEXPR const char *qt_getEnumName(ENUM) noexcept { return #ENUM; } ^ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:116:30: note: in expansion of macro ‘Q_ENUM_IMPL’ #define Q_ENUM(x) Q_ENUMS(x) Q_ENUM_IMPL(x) ^~~~~~~~~~~ ../luis/application/sources/gui/GuiGlobals.h:461:9: note: in expansion of macro ‘Q_ENUM’ Q_ENUM(TD_Prime_States) ^~~~~~ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:115:60: error: expected ‘;’ at end of member declaration friend Q_DECL_CONSTEXPR const char *qt_getEnumName(ENUM) noexcept { return #ENUM; } ^ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:116:30: note: in expansion of macro ‘Q_ENUM_IMPL’ #define Q_ENUM(x) Q_ENUMS(x) Q_ENUM_IMPL(x) ^~~~~~~~~~~ ../luis/application/sources/gui/GuiGlobals.h:461:9: note: in expansion of macro ‘Q_ENUM’ Q_ENUM(TD_Prime_States) ^~~~~~ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:115:60: error: redeclaration of ‘int Gui::GuiActions::TD_Prime_States’ friend Q_DECL_CONSTEXPR const char *qt_getEnumName(ENUM) noexcept { return #ENUM; } ^ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:116:30: note: in expansion of macro ‘Q_ENUM_IMPL’ #define Q_ENUM(x) Q_ENUMS(x) Q_ENUM_IMPL(x) ^~~~~~~~~~~ ../luis/application/sources/gui/GuiGlobals.h:461:9: note: in expansion of macro ‘Q_ENUM’ Q_ENUM(TD_Prime_States) ^~~~~~ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:114:73: note: previous declaration ‘int Gui::GuiActions::TD_Prime_States’ friend Q_DECL_CONSTEXPR const QMetaObject *qt_getEnumMetaObject(ENUM) noexcept { return &staticMetaObject; } \ ^ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:116:30: note: in expansion of macro ‘Q_ENUM_IMPL’ #define Q_ENUM(x) Q_ENUMS(x) Q_ENUM_IMPL(x) ^~~~~~~~~~~ ../luis/application/sources/gui/GuiGlobals.h:461:9: note: in expansion of macro ‘Q_ENUM’ Q_ENUM(TD_Prime_States) ^~~~~~ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:115:62: error: expected unqualified-id before ‘noexcept’ friend Q_DECL_CONSTEXPR const char *qt_getEnumName(ENUM) noexcept { return #ENUM; } ^ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:116:30: note: in expansion of macro ‘Q_ENUM_IMPL’ #define Q_ENUM(x) Q_ENUMS(x) Q_ENUM_IMPL(x) ^~~~~~~~~~~ ../luis/application/sources/gui/GuiGlobals.h:461:9: note: in expansion of macro ‘Q_ENUM’ Q_ENUM(TD_Prime_States) ^~~~~~ In file included from ../luis/application/sources/canbus/MessageGlobals.h:21:0, from ../luis/application/sources/Threads.cpp:22: ../luis/application/sources/gui/GuiGlobals.h:541:25: error: ‘TD_Prime_States’ in ‘class Gui::GuiActions’ does not name a type typedef GuiActions::TD_Prime_States GuiPreTreatmentPrimeStates; ^~~~~~~~~~~~~~~ In file included from /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobject.h:46:0, from /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qthread.h:44, from /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/QThread:1, from ../luis/application/sources/Threads.h:18, from ../luis/application/sources/Threads.cpp:15: /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:114:73: note: ‘Gui::GuiActions::TD_Prime_States’ declared here friend Q_DECL_CONSTEXPR const QMetaObject *qt_getEnumMetaObject(ENUM) noexcept { return &staticMetaObject; } \ ^ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:116:30: note: in expansion of macro ‘Q_ENUM_IMPL’ #define Q_ENUM(x) Q_ENUMS(x) Q_ENUM_IMPL(x) ^~~~~~~~~~~ ../luis/application/sources/gui/GuiGlobals.h:461:9: note: in expansion of macro ‘Q_ENUM’ Q_ENUM(TD_Prime_States) ^~~~~~ In file included from ../luis/application/sources/storage/Logger.h:25:0, from ../luis/application/sources/utility/types.h:27, from ../luis/application/sources/model/hd/alarm/MAlarmStatusData.h:22, from ../luis/application/sources/AlarmGenerator.h:22, from ../luis/application/sources/AlarmGenerator.cpp:19: ../luis/application/sources/gui/GuiGlobals.h:541:25: error: ‘TD_Prime_States’ in ‘class Gui::GuiActions’ does not name a type typedef GuiActions::TD_Prime_States GuiPreTreatmentPrimeStates; ^~~~~~~~~~~~~~~ In file included from /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobject.h:46:0, from /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/QObject:1, from ../luis/application/sources/AlarmGenerator.h:19, from ../luis/application/sources/AlarmGenerator.cpp:19: /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:114:73: note: ‘Gui::GuiActions::TD_Prime_States’ declared here friend Q_DECL_CONSTEXPR const QMetaObject *qt_getEnumMetaObject(ENUM) noexcept { return &staticMetaObject; } \ ^ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:116:30: note: in expansion of macro ‘Q_ENUM_IMPL’ #define Q_ENUM(x) Q_ENUMS(x) Q_ENUM_IMPL(x) ^~~~~~~~~~~ ../luis/application/sources/gui/GuiGlobals.h:461:9: note: in expansion of macro ‘Q_ENUM’ Q_ENUM(TD_Prime_States) ^~~~~~ In file included from /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobject.h:46:0, from /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qiodevice.h:45, from /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qtextstream.h:43, from /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qdebug.h:49, from /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/QDebug:1, from ../luis/application/main.cpp:32: /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:114:73: error: ‘qt_getEnumMetaObject’ is neither function nor member function; cannot be declared friend friend Q_DECL_CONSTEXPR const QMetaObject *qt_getEnumMetaObject(ENUM) noexcept { return &staticMetaObject; } \ ^ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:116:30: note: in expansion of macro ‘Q_ENUM_IMPL’ #define Q_ENUM(x) Q_ENUMS(x) Q_ENUM_IMPL(x) ^~~~~~~~~~~ ../luis/application/sources/gui/GuiGlobals.h:461:9: note: in expansion of macro ‘Q_ENUM’ Q_ENUM(TD_Prime_States) ^~~~~~ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:114:73: error: non-static data member ‘qt_getEnumMetaObject’ declared ‘constexpr’ friend Q_DECL_CONSTEXPR const QMetaObject *qt_getEnumMetaObject(ENUM) noexcept { return &staticMetaObject; } \ ^ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:116:30: note: in expansion of macro ‘Q_ENUM_IMPL’ #define Q_ENUM(x) Q_ENUMS(x) Q_ENUM_IMPL(x) ^~~~~~~~~~~ ../luis/application/sources/gui/GuiGlobals.h:461:9: note: in expansion of macro ‘Q_ENUM’ Q_ENUM(TD_Prime_States) ^~~~~~ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:114:48: error: expected ‘;’ at end of member declaration friend Q_DECL_CONSTEXPR const QMetaObject *qt_getEnumMetaObject(ENUM) noexcept { return &staticMetaObject; } \ ^ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:116:30: note: in expansion of macro ‘Q_ENUM_IMPL’ #define Q_ENUM(x) Q_ENUMS(x) Q_ENUM_IMPL(x) ^~~~~~~~~~~ ../luis/application/sources/gui/GuiGlobals.h:461:9: note: in expansion of macro ‘Q_ENUM’ Q_ENUM(TD_Prime_States) ^~~~~~ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:114:73: error: ISO C++ forbids declaration of ‘TD_Prime_States’ with no type [-fpermissive] friend Q_DECL_CONSTEXPR const QMetaObject *qt_getEnumMetaObject(ENUM) noexcept { return &staticMetaObject; } \ ^ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:116:30: note: in expansion of macro ‘Q_ENUM_IMPL’ #define Q_ENUM(x) Q_ENUMS(x) Q_ENUM_IMPL(x) ^~~~~~~~~~~ ../luis/application/sources/gui/GuiGlobals.h:461:9: note: in expansion of macro ‘Q_ENUM’ Q_ENUM(TD_Prime_States) ^~~~~~ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:114:73: error: expected ‘;’ at end of member declaration friend Q_DECL_CONSTEXPR const QMetaObject *qt_getEnumMetaObject(ENUM) noexcept { return &staticMetaObject; } \ ^ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:116:30: note: in expansion of macro ‘Q_ENUM_IMPL’ #define Q_ENUM(x) Q_ENUMS(x) Q_ENUM_IMPL(x) ^~~~~~~~~~~ ../luis/application/sources/gui/GuiGlobals.h:461:9: note: in expansion of macro ‘Q_ENUM’ Q_ENUM(TD_Prime_States) ^~~~~~ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:114:75: error: expected unqualified-id before ‘noexcept’ friend Q_DECL_CONSTEXPR const QMetaObject *qt_getEnumMetaObject(ENUM) noexcept { return &staticMetaObject; } \ ^ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:116:30: note: in expansion of macro ‘Q_ENUM_IMPL’ #define Q_ENUM(x) Q_ENUMS(x) Q_ENUM_IMPL(x) ^~~~~~~~~~~ ../luis/application/sources/gui/GuiGlobals.h:461:9: note: in expansion of macro ‘Q_ENUM’ Q_ENUM(TD_Prime_States) ^~~~~~ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:115:60: error: ‘qt_getEnumName’ is neither function nor member function; cannot be declared friend friend Q_DECL_CONSTEXPR const char *qt_getEnumName(ENUM) noexcept { return #ENUM; } ^ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:116:30: note: in expansion of macro ‘Q_ENUM_IMPL’ #define Q_ENUM(x) Q_ENUMS(x) Q_ENUM_IMPL(x) ^~~~~~~~~~~ ../luis/application/sources/gui/GuiGlobals.h:461:9: note: in expansion of macro ‘Q_ENUM’ Q_ENUM(TD_Prime_States) ^~~~~~ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:115:60: error: non-static data member ‘qt_getEnumName’ declared ‘constexpr’ friend Q_DECL_CONSTEXPR const char *qt_getEnumName(ENUM) noexcept { return #ENUM; } ^ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:116:30: note: in expansion of macro ‘Q_ENUM_IMPL’ #define Q_ENUM(x) Q_ENUMS(x) Q_ENUM_IMPL(x) ^~~~~~~~~~~ ../luis/application/sources/gui/GuiGlobals.h:461:9: note: in expansion of macro ‘Q_ENUM’ Q_ENUM(TD_Prime_States) ^~~~~~ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:115:41: error: expected ‘;’ at end of member declaration friend Q_DECL_CONSTEXPR const char *qt_getEnumName(ENUM) noexcept { return #ENUM; } ^ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:116:30: note: in expansion of macro ‘Q_ENUM_IMPL’ #define Q_ENUM(x) Q_ENUMS(x) Q_ENUM_IMPL(x) ^~~~~~~~~~~ ../luis/application/sources/gui/GuiGlobals.h:461:9: note: in expansion of macro ‘Q_ENUM’ Q_ENUM(TD_Prime_States) ^~~~~~ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:115:60: error: ISO C++ forbids declaration of ‘TD_Prime_States’ with no type [-fpermissive] friend Q_DECL_CONSTEXPR const char *qt_getEnumName(ENUM) noexcept { return #ENUM; } ^ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:116:30: note: in expansion of macro ‘Q_ENUM_IMPL’ #define Q_ENUM(x) Q_ENUMS(x) Q_ENUM_IMPL(x) ^~~~~~~~~~~ ../luis/application/sources/gui/GuiGlobals.h:461:9: note: in expansion of macro ‘Q_ENUM’ Q_ENUM(TD_Prime_States) ^~~~~~ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:115:60: error: expected ‘;’ at end of member declaration friend Q_DECL_CONSTEXPR const char *qt_getEnumName(ENUM) noexcept { return #ENUM; } ^ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:116:30: note: in expansion of macro ‘Q_ENUM_IMPL’ #define Q_ENUM(x) Q_ENUMS(x) Q_ENUM_IMPL(x) ^~~~~~~~~~~ ../luis/application/sources/gui/GuiGlobals.h:461:9: note: in expansion of macro ‘Q_ENUM’ Q_ENUM(TD_Prime_States) ^~~~~~ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:115:60: error: redeclaration of ‘int Gui::GuiActions::TD_Prime_States’ friend Q_DECL_CONSTEXPR const char *qt_getEnumName(ENUM) noexcept { return #ENUM; } ^ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:116:30: note: in expansion of macro ‘Q_ENUM_IMPL’ #define Q_ENUM(x) Q_ENUMS(x) Q_ENUM_IMPL(x) ^~~~~~~~~~~ ../luis/application/sources/gui/GuiGlobals.h:461:9: note: in expansion of macro ‘Q_ENUM’ Q_ENUM(TD_Prime_States) ^~~~~~ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:114:73: note: previous declaration ‘int Gui::GuiActions::TD_Prime_States’ friend Q_DECL_CONSTEXPR const QMetaObject *qt_getEnumMetaObject(ENUM) noexcept { return &staticMetaObject; } \ ^ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:116:30: note: in expansion of macro ‘Q_ENUM_IMPL’ #define Q_ENUM(x) Q_ENUMS(x) Q_ENUM_IMPL(x) ^~~~~~~~~~~ ../luis/application/sources/gui/GuiGlobals.h:461:9: note: in expansion of macro ‘Q_ENUM’ Q_ENUM(TD_Prime_States) ^~~~~~ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:115:62: error: expected unqualified-id before ‘noexcept’ friend Q_DECL_CONSTEXPR const char *qt_getEnumName(ENUM) noexcept { return #ENUM; } ^ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:116:30: note: in expansion of macro ‘Q_ENUM_IMPL’ #define Q_ENUM(x) Q_ENUMS(x) Q_ENUM_IMPL(x) ^~~~~~~~~~~ ../luis/application/sources/gui/GuiGlobals.h:461:9: note: in expansion of macro ‘Q_ENUM’ Q_ENUM(TD_Prime_States) ^~~~~~ In file included from ../luis/application/sources/canbus/MessageGlobals.h:21:0, from ../luis/application/sources/canbus/CanInterface.h:23, from ../luis/application/main.cpp:45: ../luis/application/sources/gui/GuiGlobals.h:541:25: error: ‘TD_Prime_States’ in ‘class Gui::GuiActions’ does not name a type typedef GuiActions::TD_Prime_States GuiPreTreatmentPrimeStates; ^~~~~~~~~~~~~~~ In file included from /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobject.h:46:0, from /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qiodevice.h:45, from /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qtextstream.h:43, from /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qdebug.h:49, from /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/QDebug:1, from ../luis/application/main.cpp:32: /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:114:73: note: ‘Gui::GuiActions::TD_Prime_States’ declared here friend Q_DECL_CONSTEXPR const QMetaObject *qt_getEnumMetaObject(ENUM) noexcept { return &staticMetaObject; } \ ^ /opt/Qt5.15.10/5.15.10/gcc_64/include/QtCore/qobjectdefs.h:116:30: note: in expansion of macro ‘Q_ENUM_IMPL’ #define Q_ENUM(x) Q_ENUMS(x) Q_ENUM_IMPL(x) ^~~~~~~~~~~ ../luis/application/sources/gui/GuiGlobals.h:461:9: note: in expansion of macro ‘Q_ENUM’ Q_ENUM(TD_Prime_States) ^~~~~~ make: *** [AlarmGenerator.o] Error 1 make: *** Waiting for unfinished jobs.... make: *** [Threads.o] Error 1 make: *** [MainTimer.o] Error 1 make: *** [main.o] Error 1