gccfilter is a perl filter to colorize and simplify (or expand) gcc diagnostic messages. gccfilter is particularly aimed at g++ (i.e. dealinging with C++) messages which can contain lot of template-related errors or warnings difficult to sort out.
This might be related to issue #4:
Sometimes the compilation stops. Disabling gccfilter helps. Below is an example compilation output which causes such a hang.
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp: In constructor ‘ElementsControl::ElementsControl(const QString&)’:
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:60:13: error: no match for ‘operator=’ (operand types are ‘Recipe’ and ‘Recipe*’)
mRecipe = new Recipe(nmbOfCones, nmbOfCones, "", 0);
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:60:13: note: candidate is:
In file included from /home/tobias/devel/elements_display/control/src/elementscontrol.h:20:0,
from /home/tobias/devel/elements_display/control/src/elementscontrol.cpp:13:
/home/tobias/devel/elements_display/common/recipe.h:30:7: note: Recipe& Recipe::operator=(const Recipe&) <deleted>
class Recipe : public TobiasVar
^
/home/tobias/devel/elements_display/common/recipe.h:30:7: note: no known conversion for argument 1 from ‘Recipe*’ to ‘const Recipe&’
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp: In member function ‘virtual void ElementsControl::task()’:
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:116:30: error: no match for ‘operator*’ (operand type is ‘Recipe’)
control(start, stop, *mRecipe);
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:116:30: note: candidates are:
In file included from /opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtGui/qbrush.h:46:0,
from /opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtGui/qstandarditemmodel.h:46,
from /opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtGui/QStandardItemModel:1,
from /home/tobias/devel/elements_display/common/recipe.h:23,
from /home/tobias/devel/elements_display/control/src/elementscontrol.h:20,
from /home/tobias/devel/elements_display/control/src/elementscontrol.cpp:13:
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qpoint.h:169:38: note: constexpr const QPoint operator*(const QPoint&, float)
Q_DECL_CONSTEXPR inline const QPoint operator*(const QPoint &p, float factor)
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qpoint.h:169:38: note: candidate expects 2 arguments, 1 provided
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qpoint.h:178:38: note: constexpr const QPoint operator*(float, const QPoint&)
Q_DECL_CONSTEXPR inline const QPoint operator*(float factor, const QPoint &p)
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qpoint.h:178:38: note: candidate expects 2 arguments, 1 provided
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qpoint.h:172:38: note: constexpr const QPoint operator*(const QPoint&, double)
Q_DECL_CONSTEXPR inline const QPoint operator*(const QPoint &p, double factor)
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qpoint.h:172:38: note: candidate expects 2 arguments, 1 provided
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qpoint.h:181:38: note: constexpr const QPoint operator*(double, const QPoint&)
Q_DECL_CONSTEXPR inline const QPoint operator*(double factor, const QPoint &p)
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qpoint.h:181:38: note: candidate expects 2 arguments, 1 provided
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qpoint.h:175:38: note: constexpr const QPoint operator*(const QPoint&, int)
Q_DECL_CONSTEXPR inline const QPoint operator*(const QPoint &p, int factor)
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qpoint.h:175:38: note: candidate expects 2 arguments, 1 provided
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qpoint.h:184:38: note: constexpr const QPoint operator*(int, const QPoint&)
Q_DECL_CONSTEXPR inline const QPoint operator*(int factor, const QPoint &p)
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qpoint.h:184:38: note: candidate expects 2 arguments, 1 provided
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qpoint.h:362:39: note: constexpr const QPointF operator*(qreal, const QPointF&)
Q_DECL_CONSTEXPR inline const QPointF operator*(qreal c, const QPointF &p)
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qpoint.h:362:39: note: candidate expects 2 arguments, 1 provided
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qpoint.h:357:39: note: constexpr const QPointF operator*(const QPointF&, qreal)
Q_DECL_CONSTEXPR inline const QPointF operator*(const QPointF &p, qreal c)
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qpoint.h:357:39: note: candidate expects 2 arguments, 1 provided
In file included from /opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qrect.h:45:0,
from /opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtGui/qpolygon.h:47,
from /opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtGui/qmatrix.h:45,
from /opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtGui/qbrush.h:50,
from /opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtGui/qstandarditemmodel.h:46,
from /opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtGui/QStandardItemModel:1,
from /home/tobias/devel/elements_display/common/recipe.h:23,
from /home/tobias/devel/elements_display/control/src/elementscontrol.h:20,
from /home/tobias/devel/elements_display/control/src/elementscontrol.cpp:13:
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qmargins.h:185:34: note: constexpr QMargins operator*(const QMargins&, int)
Q_DECL_CONSTEXPR inline QMargins operator*(const QMargins &margins, int factor)
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qmargins.h:185:34: note: candidate expects 2 arguments, 1 provided
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qmargins.h:191:34: note: constexpr QMargins operator*(int, const QMargins&)
Q_DECL_CONSTEXPR inline QMargins operator*(int factor, const QMargins &margins)
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qmargins.h:191:34: note: candidate expects 2 arguments, 1 provided
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qmargins.h:197:34: note: constexpr QMargins operator*(const QMargins&, qreal)
Q_DECL_CONSTEXPR inline QMargins operator*(const QMargins &margins, qreal factor)
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qmargins.h:197:34: note: candidate expects 2 arguments, 1 provided
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qmargins.h:203:34: note: constexpr QMargins operator*(qreal, const QMargins&)
Q_DECL_CONSTEXPR inline QMargins operator*(qreal factor, const QMargins &margins)
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qmargins.h:203:34: note: candidate expects 2 arguments, 1 provided
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qmargins.h:416:35: note: constexpr QMarginsF operator*(const QMarginsF&, qreal)
Q_DECL_CONSTEXPR inline QMarginsF operator*(const QMarginsF &lhs, qreal rhs)
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qmargins.h:416:35: note: candidate expects 2 arguments, 1 provided
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qmargins.h:422:35: note: constexpr QMarginsF operator*(qreal, const QMarginsF&)
Q_DECL_CONSTEXPR inline QMarginsF operator*(qreal lhs, const QMarginsF &rhs)
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qmargins.h:422:35: note: candidate expects 2 arguments, 1 provided
In file included from /opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qrect.h:46:0,
from /opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtGui/qpolygon.h:47,
from /opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtGui/qmatrix.h:45,
from /opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtGui/qbrush.h:50,
from /opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtGui/qstandarditemmodel.h:46,
from /opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtGui/QStandardItemModel:1,
from /home/tobias/devel/elements_display/common/recipe.h:23,
from /home/tobias/devel/elements_display/control/src/elementscontrol.h:20,
from /home/tobias/devel/elements_display/control/src/elementscontrol.cpp:13:
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qsize.h:175:37: note: constexpr const QSize operator*(const QSize&, qreal)
Q_DECL_CONSTEXPR inline const QSize operator*(const QSize &s, qreal c)
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qsize.h:175:37: note: candidate expects 2 arguments, 1 provided
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qsize.h:178:37: note: constexpr const QSize operator*(qreal, const QSize&)
Q_DECL_CONSTEXPR inline const QSize operator*(qreal c, const QSize &s)
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qsize.h:178:37: note: candidate expects 2 arguments, 1 provided
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qsize.h:340:38: note: constexpr const QSizeF operator*(const QSizeF&, qreal)
Q_DECL_CONSTEXPR inline const QSizeF operator*(const QSizeF &s, qreal c)
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qsize.h:340:38: note: candidate expects 2 arguments, 1 provided
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qsize.h:343:38: note: constexpr const QSizeF operator*(qreal, const QSizeF&)
Q_DECL_CONSTEXPR inline const QSizeF operator*(qreal c, const QSizeF &s)
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qsize.h:343:38: note: candidate expects 2 arguments, 1 provided
In file included from /opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtGui/qbrush.h:50:0,
from /opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtGui/qstandarditemmodel.h:46,
from /opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtGui/QStandardItemModel:1,
from /home/tobias/devel/elements_display/common/recipe.h:23,
from /home/tobias/devel/elements_display/control/src/elementscontrol.h:20,
from /home/tobias/devel/elements_display/control/src/elementscontrol.cpp:13:
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtGui/qmatrix.h:138:15: note: QPoint operator*(const QPoint&, const QMatrix&)
inline QPoint operator*(const QPoint &p, const QMatrix &m)
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtGui/qmatrix.h:138:15: note: candidate expects 2 arguments, 1 provided
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtGui/qmatrix.h:140:16: note: QPointF operator*(const QPointF&, const QMatrix&)
inline QPointF operator*(const QPointF &p, const QMatrix &m)
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtGui/qmatrix.h:140:16: note: candidate expects 2 arguments, 1 provided
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtGui/qmatrix.h:142:15: note: QLineF operator*(const QLineF&, const QMatrix&)
inline QLineF operator*(const QLineF &l, const QMatrix &m)
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtGui/qmatrix.h:142:15: note: candidate expects 2 arguments, 1 provided
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtGui/qmatrix.h:144:14: note: QLine operator*(const QLine&, const QMatrix&)
inline QLine operator*(const QLine &l, const QMatrix &m)
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtGui/qmatrix.h:144:14: note: candidate expects 2 arguments, 1 provided
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtGui/qmatrix.h:146:17: note: QPolygon operator*(const QPolygon&, const QMatrix&)
inline QPolygon operator *(const QPolygon &a, const QMatrix &m)
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtGui/qmatrix.h:146:17: note: candidate expects 2 arguments, 1 provided
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtGui/qmatrix.h:148:18: note: QPolygonF operator*(const QPolygonF&, const QMatrix&)
inline QPolygonF operator *(const QPolygonF &a, const QMatrix &m)
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtGui/qmatrix.h:148:18: note: candidate expects 2 arguments, 1 provided
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtGui/qmatrix.h:150:16: note: QRegion operator*(const QRegion&, const QMatrix&)
inline QRegion operator *(const QRegion &r, const QMatrix &m)
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtGui/qmatrix.h:150:16: note: candidate expects 2 arguments, 1 provided
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtGui/qmatrix.h:152:27: note: QPainterPath operator*(const QPainterPath&, const QMatrix&)
Q_GUI_EXPORT QPainterPath operator *(const QPainterPath &p, const QMatrix &m);
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtGui/qmatrix.h:152:27: note: candidate expects 2 arguments, 1 provided
In file included from /opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtGui/qbrush.h:51:0,
from /opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtGui/qstandarditemmodel.h:46,
from /opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtGui/QStandardItemModel:1,
from /home/tobias/devel/elements_display/common/recipe.h:23,
from /home/tobias/devel/elements_display/control/src/elementscontrol.h:20,
from /home/tobias/devel/elements_display/control/src/elementscontrol.cpp:13:
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtGui/qtransform.h:358:15: note: QPoint operator*(const QPoint&, const QTransform&)
inline QPoint operator*(const QPoint &p, const QTransform &m)
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtGui/qtransform.h:358:15: note: candidate expects 2 arguments, 1 provided
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtGui/qtransform.h:360:16: note: QPointF operator*(const QPointF&, const QTransform&)
inline QPointF operator*(const QPointF &p, const QTransform &m)
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtGui/qtransform.h:360:16: note: candidate expects 2 arguments, 1 provided
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtGui/qtransform.h:362:15: note: QLineF operator*(const QLineF&, const QTransform&)
inline QLineF operator*(const QLineF &l, const QTransform &m)
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtGui/qtransform.h:362:15: note: candidate expects 2 arguments, 1 provided
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtGui/qtransform.h:364:14: note: QLine operator*(const QLine&, const QTransform&)
inline QLine operator*(const QLine &l, const QTransform &m)
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtGui/qtransform.h:364:14: note: candidate expects 2 arguments, 1 provided
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtGui/qtransform.h:366:17: note: QPolygon operator*(const QPolygon&, const QTransform&)
inline QPolygon operator *(const QPolygon &a, const QTransform &m)
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtGui/qtransform.h:366:17: note: candidate expects 2 arguments, 1 provided
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtGui/qtransform.h:368:18: note: QPolygonF operator*(const QPolygonF&, const QTransform&)
inline QPolygonF operator *(const QPolygonF &a, const QTransform &m)
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtGui/qtransform.h:368:18: note: candidate expects 2 arguments, 1 provided
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtGui/qtransform.h:370:16: note: QRegion operator*(const QRegion&, const QTransform&)
inline QRegion operator *(const QRegion &r, const QTransform &m)
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtGui/qtransform.h:370:16: note: candidate expects 2 arguments, 1 provided
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtGui/qtransform.h:372:21: note: QPainterPath operator*(const QPainterPath&, const QTransform&)
inline QPainterPath operator *(const QPainterPath &p, const QTransform &m)
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtGui/qtransform.h:372:21: note: candidate expects 2 arguments, 1 provided
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtGui/qtransform.h:375:19: note: QTransform operator*(const QTransform&, qreal)
inline QTransform operator *(const QTransform &a, qreal n)
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtGui/qtransform.h:375:19: note: candidate expects 2 arguments, 1 provided
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:138:18: error: base operand of ‘->’ has non-pointer type ‘Recipe::Cone’
switch(cn->value)
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:154:15: error: cannot convert ‘bool’ to ‘SimpleValue<bool>*’ in assignment
cn.on = out;
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp: In member function ‘void ElementsControl::parseConfig(TobiasConfigParser&)’:
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:162:31: error: ‘class TobiasConfigParser’ has no member named ‘getSpecificReader’
QXmlStreamReader &xml = p.getSpecificReader();
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:165:14: error: ‘class TobiasConfigParser’ has no member named ‘inSpecific’
while (p.inSpecific())
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:183:43: error: ‘class SimpleValue<short unsigned int>’ has no member named ‘buffOffset’
mPressure.buffOffset = buff;
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:195:39: error: no match for ‘operator=’ (operand types are ‘Recipe::Cone’ and ‘Recipe::ConeValue’)
protoCone = Recipe::inactive;
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:195:39: note: candidates are:
In file included from /home/tobias/devel/elements_display/control/src/elementscontrol.h:20:0,
from /home/tobias/devel/elements_display/control/src/elementscontrol.cpp:13:
/home/tobias/devel/elements_display/common/recipe.h:46:6: note: Recipe::Cone& Recipe::Cone::operator=(const Recipe::Cone&)
}Cone;
^
/home/tobias/devel/elements_display/common/recipe.h:46:6: note: no known conversion for argument 1 from ‘Recipe::ConeValue’ to ‘const Recipe::Cone&’
/home/tobias/devel/elements_display/common/recipe.h:46:6: note: Recipe::Cone& Recipe::Cone::operator=(Recipe::Cone&&)
/home/tobias/devel/elements_display/common/recipe.h:46:6: note: no known conversion for argument 1 from ‘Recipe::ConeValue’ to ‘Recipe::Cone&&’
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:206:51: error: ‘struct Recipe::Cone’ has no member named ‘buffOffset’
protoCone.buffOffset = off;
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:224:40: error: request for member ‘append’ in ‘((ElementsControl*)this)->ElementsControl::mCones’, which is of non-class type ‘Recipe::Cone [4]’
mCones.append(buff);
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:240:44: error: ‘class SimpleValue<bool>’ has no member named ‘buffOffset’
mDigOutAir.buffOffset = off;
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:254:49: error: ‘class SimpleValue<bool>’ has no member named ‘buffOffset’
mDigOutMaterial.buffOffset = off;
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:268:52: error: ‘class SimpleValue<bool>’ has no member named ‘buffOffset’
mDigOutFlakeswitch.buffOffset = off;
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:282:50: error: ‘class SimpleValue<bool>’ has no member named ‘buffOffset’
mDigOutMainvalve.buffOffset = off;
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:297:43: error: ‘class SimpleValue<short unsigned int>’ has no member named ‘buffOffset’
mStatusPs.buffOffset = off;
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:312:38: error: ‘class SimpleValue<short unsigned int>’ has no member named ‘buffOffset’
mAir.buffOffset = off;
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:326:43: error: ‘class SimpleValue<short unsigned int>’ has no member named ‘buffOffset’
mMaterial.buffOffset = off;
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:347:33: error: ‘mOffsetStart’ was not declared in this scope
mOffsetStart = off;
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:362:33: error: ‘mOffsetStop’ was not declared in this scope
mOffsetStop = off;
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:376:33: error: ‘mOffsetRecipe’ was not declared in this scope
mOffsetRecipe = off;
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:390:48: error: ‘class SimpleValue<short unsigned int>’ has no member named ‘buffOffset’
mProcedureStep.buffOffset = off;
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:405:33: error: ‘mOffsetIsoBlowOk’ was not declared in this scope
mOffsetIsoBlowOk = off;
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:421:46: error: ‘class SimpleValue<bool>’ has no member named ‘buffOffset’
mMaterialOff.buffOffset = off;
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:466:41: error: ‘class SimpleValue<short unsigned int>’ has no member named ‘buffOffset’
mLvlAir.buffOffset = off;
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:482:41: error: ‘class SimpleValue<short unsigned int>’ has no member named ‘buffOffset’
mLvlMat.buffOffset = off;
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp: In member function ‘void ElementsControl::printConfig()’:
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:496:59: error: ‘class SimpleValue<short unsigned int>’ has no member named ‘buffOffset’
qDebug("pressure %u air %u mat %u \n", mPressure.buffOffset, mAir.buffOffset, mMaterial.buffOffset);
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:496:76: error: ‘class SimpleValue<short unsigned int>’ has no member named ‘buffOffset’
qDebug("pressure %u air %u mat %u \n", mPressure.buffOffset, mAir.buffOffset, mMaterial.buffOffset);
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:496:98: error: ‘class SimpleValue<short unsigned int>’ has no member named ‘buffOffset’
qDebug("pressure %u air %u mat %u \n", mPressure.buffOffset, mAir.buffOffset, mMaterial.buffOffset);
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:497:66: error: ‘class SimpleValue<bool>’ has no member named ‘buffOffset’
qDebug("doMat %u doAir %u flake %u valve %u",mDigOutMaterial.buffOffset, mDigOutAir.buffOffset, mDigOutFlakeswitch.buffOffset,
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:497:89: error: ‘class SimpleValue<bool>’ has no member named ‘buffOffset’
qDebug("doMat %u doAir %u flake %u valve %u",mDigOutMaterial.buffOffset, mDigOutAir.buffOffset, mDigOutFlakeswitch.buffOffset,
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:497:120: error: ‘class SimpleValue<bool>’ has no member named ‘buffOffset’
qDebug("doMat %u doAir %u flake %u valve %u",mDigOutMaterial.buffOffset, mDigOutAir.buffOffset, mDigOutFlakeswitch.buffOffset,
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:498:29: error: ‘class SimpleValue<bool>’ has no member named ‘buffOffset’
mDigOutMainvalve.buffOffset);
^
In file included from /opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qalgorithms.h:45:0,
from /opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qlist.h:45,
from /opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/QList:1,
from /home/tobias/devel/tobias/include/tobias_types.h:12,
from /home/tobias/devel/tobias/include/tobiastask.h:16,
from /home/tobias/devel/elements_display/control/src/elementscontrol.h:17,
from /home/tobias/devel/elements_display/control/src/elementscontrol.cpp:13:
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h: In instantiation of ‘class QForeachContainer<Recipe::Cone [4]>’:
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:499:5: required from here
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:872:32: error: ‘Recipe::Cone [4]’ is not a class, struct, or union type
typename T::const_iterator i, e;
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:872:35: error: ‘Recipe::Cone [4]’ is not a class, struct, or union type
typename T::const_iterator i, e;
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:877:38: error: ‘class QForeachContainer<Recipe::Cone [4]>’ has no member named ‘i’
!_container_.brk && _container_.i != _container_.e; \
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:933:21: note: in expansion of macro ‘Q_FOREACH’
# define foreach Q_FOREACH
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:499:5: note: in expansion of macro ‘foreach’
foreach(Recipe::Cone *cn, mCones)
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:877:55: error: ‘class QForeachContainer<Recipe::Cone [4]>’ has no member named ‘e’
!_container_.brk && _container_.i != _container_.e; \
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:933:21: note: in expansion of macro ‘Q_FOREACH’
# define foreach Q_FOREACH
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:499:5: note: in expansion of macro ‘foreach’
foreach(Recipe::Cone *cn, mCones)
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:878:57: error: ‘class QForeachContainer<Recipe::Cone [4]>’ has no member named ‘i’
__extension__ ({ ++_container_.brk; ++_container_.i; })) \
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:933:21: note: in expansion of macro ‘Q_FOREACH’
# define foreach Q_FOREACH
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:499:5: note: in expansion of macro ‘foreach’
foreach(Recipe::Cone *cn, mCones)
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:879:34: error: ‘class QForeachContainer<Recipe::Cone [4]>’ has no member named ‘i’
for (variable = *_container_.i;; __extension__ ({--_container_.brk; break;}))
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:933:21: note: in expansion of macro ‘Q_FOREACH’
# define foreach Q_FOREACH
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:499:5: note: in expansion of macro ‘foreach’
foreach(Recipe::Cone *cn, mCones)
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:501:45: error: ‘struct Recipe::Cone’ has no member named ‘buffOffset’
qDebug(" cone%u: %u",cn->index, cn->buffOffset);
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:504:46: error: ‘mOffsetStart’ was not declared in this scope
qDebug("start %u stop %u recipe %u",mOffsetStart, mOffsetStop, mOffsetRecipe);
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:504:60: error: ‘mOffsetStop’ was not declared in this scope
qDebug("start %u stop %u recipe %u",mOffsetStart, mOffsetStop, mOffsetRecipe);
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:504:73: error: ‘mOffsetRecipe’ was not declared in this scope
qDebug("start %u stop %u recipe %u",mOffsetStart, mOffsetStop, mOffsetRecipe);
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp: In member function ‘void ElementsControl::control(bool, bool, const Recipe&)’:
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:530:25: error: use of deleted function ‘Recipe& Recipe::operator=(const Recipe&)’
lRecipe = rec;
^
In file included from /home/tobias/devel/elements_display/control/src/elementscontrol.h:20:0,
from /home/tobias/devel/elements_display/control/src/elementscontrol.cpp:13:
/home/tobias/devel/elements_display/common/recipe.h:30:7: note: ‘Recipe& Recipe::operator=(const Recipe&)’ is implicitly deleted because the default definition would be ill-formed:
class Recipe : public TobiasVar
^
In file included from /opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qalgorithms.h:45:0,
from /opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qlist.h:45,
from /opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/QList:1,
from /home/tobias/devel/tobias/include/tobias_types.h:12,
from /home/tobias/devel/tobias/include/tobiastask.h:16,
from /home/tobias/devel/elements_display/control/src/elementscontrol.h:17,
from /home/tobias/devel/elements_display/control/src/elementscontrol.cpp:13:
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:1001:12: error: ‘TobiasVar& TobiasVar::operator=(const TobiasVar&)’ is private
Class &operator=(const Class &) Q_DECL_EQ_DELETE;
^
/home/tobias/devel/tobias/include/tobiasvar.h:57:5: note: in expansion of macro ‘Q_DISABLE_COPY’
Q_DISABLE_COPY(TobiasVar)
^
In file included from /home/tobias/devel/elements_display/control/src/elementscontrol.h:20:0,
from /home/tobias/devel/elements_display/control/src/elementscontrol.cpp:13:
/home/tobias/devel/elements_display/common/recipe.h:30:7: error: within this context
class Recipe : public TobiasVar
^
/home/tobias/devel/elements_display/common/recipe.h:30:7: error: use of deleted function ‘TobiasVar& TobiasVar::operator=(const TobiasVar&)’
In file included from /opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qalgorithms.h:45:0,
from /opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qlist.h:45,
from /opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/QList:1,
from /home/tobias/devel/tobias/include/tobias_types.h:12,
from /home/tobias/devel/tobias/include/tobiastask.h:16,
from /home/tobias/devel/elements_display/control/src/elementscontrol.h:17,
from /home/tobias/devel/elements_display/control/src/elementscontrol.cpp:13:
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:1001:12: note: declared here
Class &operator=(const Class &) Q_DECL_EQ_DELETE;
^
/home/tobias/devel/tobias/include/tobiasvar.h:57:5: note: in expansion of macro ‘Q_DISABLE_COPY’
Q_DISABLE_COPY(TobiasVar)
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:547:17: error: use of deleted function ‘Recipe& Recipe::operator=(const Recipe&)’
lRecipe = rec;
^
In file included from /opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qalgorithms.h:45:0,
from /opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qlist.h:45,
from /opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/QList:1,
from /home/tobias/devel/tobias/include/tobias_types.h:12,
from /home/tobias/devel/tobias/include/tobiastask.h:16,
from /home/tobias/devel/elements_display/control/src/elementscontrol.h:17,
from /home/tobias/devel/elements_display/control/src/elementscontrol.cpp:13:
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:877:38: error: ‘class QForeachContainer<Recipe::Cone [4]>’ has no member named ‘i’
!_container_.brk && _container_.i != _container_.e; \
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:933:21: note: in expansion of macro ‘Q_FOREACH’
# define foreach Q_FOREACH
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:548:9: note: in expansion of macro ‘foreach’
foreach(Recipe::Cone *cn, mCones)
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:877:55: error: ‘class QForeachContainer<Recipe::Cone [4]>’ has no member named ‘e’
!_container_.brk && _container_.i != _container_.e; \
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:933:21: note: in expansion of macro ‘Q_FOREACH’
# define foreach Q_FOREACH
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:548:9: note: in expansion of macro ‘foreach’
foreach(Recipe::Cone *cn, mCones)
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:878:57: error: ‘class QForeachContainer<Recipe::Cone [4]>’ has no member named ‘i’
__extension__ ({ ++_container_.brk; ++_container_.i; })) \
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:933:21: note: in expansion of macro ‘Q_FOREACH’
# define foreach Q_FOREACH
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:548:9: note: in expansion of macro ‘foreach’
foreach(Recipe::Cone *cn, mCones)
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:879:34: error: ‘class QForeachContainer<Recipe::Cone [4]>’ has no member named ‘i’
for (variable = *_container_.i;; __extension__ ({--_container_.brk; break;}))
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:933:21: note: in expansion of macro ‘Q_FOREACH’
# define foreach Q_FOREACH
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:548:9: note: in expansion of macro ‘foreach’
foreach(Recipe::Cone *cn, mCones)
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:877:38: error: ‘class QForeachContainer<Recipe::Cone [4]>’ has no member named ‘i’
!_container_.brk && _container_.i != _container_.e; \
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:933:21: note: in expansion of macro ‘Q_FOREACH’
# define foreach Q_FOREACH
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:614:13: note: in expansion of macro ‘foreach’
foreach(Recipe::Cone *cn, mCones)
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:877:55: error: ‘class QForeachContainer<Recipe::Cone [4]>’ has no member named ‘e’
!_container_.brk && _container_.i != _container_.e; \
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:933:21: note: in expansion of macro ‘Q_FOREACH’
# define foreach Q_FOREACH
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:614:13: note: in expansion of macro ‘foreach’
foreach(Recipe::Cone *cn, mCones)
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:878:57: error: ‘class QForeachContainer<Recipe::Cone [4]>’ has no member named ‘i’
__extension__ ({ ++_container_.brk; ++_container_.i; })) \
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:933:21: note: in expansion of macro ‘Q_FOREACH’
# define foreach Q_FOREACH
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:614:13: note: in expansion of macro ‘foreach’
foreach(Recipe::Cone *cn, mCones)
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:879:34: error: ‘class QForeachContainer<Recipe::Cone [4]>’ has no member named ‘i’
for (variable = *_container_.i;; __extension__ ({--_container_.brk; break;}))
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:933:21: note: in expansion of macro ‘Q_FOREACH’
# define foreach Q_FOREACH
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:614:13: note: in expansion of macro ‘foreach’
foreach(Recipe::Cone *cn, mCones)
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:632:20: error: base operand of ‘->’ has non-pointer type ‘Recipe’
if (mRecipe->activeCones(mProcedureStep).isEmpty())
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:634:27: error: no ‘operator++(int)’ declared for postfix ‘++’ [-fpermissive]
mProcedureStep++; // in this step no cone is active, so skip it
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:642:20: error: request for member ‘length’ in ‘((ElementsControl*)this)->ElementsControl::mCones’, which is of non-class type ‘Recipe::Cone [4]’
if (mCones.length() != lRecipe.numberOfCones())
^
In file included from /home/tobias/devel/tobias/include/debug.h:11:0,
from /home/tobias/devel/tobias/include/simplevalue.tpp:29,
from /home/tobias/devel/tobias/include/simplevalue.h:68,
from /home/tobias/devel/elements_display/control/src/elementscontrol.h:18,
from /home/tobias/devel/elements_display/control/src/elementscontrol.cpp:13:
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:644:106: error: request for member ‘length’ in ‘((ElementsControl*)this)->ElementsControl::mCones’, which is of non-class type ‘Recipe::Cone [4]’
TOB_ERROR("invalid number of cones in recipe: %u should:%u", lRecipe.numberOfCones(), mCones.length());
^
/home/tobias/devel/tobias/include/logger.h:28:97: note: in definition of macro ‘TOB_ERROR’
#define TOB_ERROR(x, ...) do { Logger::logMacro(Logger::LevelError, __PRETTY_FUNCTION__, x, ##__VA_ARGS__); } while(0)
^
/home/tobias/devel/tobias/include/logger.h:28:108: error: use of deleted function ‘SimpleValue<short unsigned int>::SimpleValue(const SimpleValue<short unsigned int>&)’
#define TOB_ERROR(x, ...) do { Logger::logMacro(Logger::LevelError, __PRETTY_FUNCTION__, x, ##__VA_ARGS__); } while(0)
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:652:13: note: in expansion of macro ‘TOB_ERROR’
TOB_ERROR("invalid targetPressure: %i", targetPress, mProcedureStep);
^
In file included from /home/tobias/devel/elements_display/control/src/elementscontrol.h:18:0,
from /home/tobias/devel/elements_display/control/src/elementscontrol.cpp:13:
/home/tobias/devel/tobias/include/simplevalue.h:22:7: note: ‘SimpleValue<short unsigned int>::SimpleValue(const SimpleValue<short unsigned int>&)’ is implicitly deleted because the default definition would be ill-formed:
class SimpleValue : public TobiasVar
^
In file included from /opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qalgorithms.h:45:0,
from /opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qlist.h:45,
from /opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/QList:1,
from /home/tobias/devel/tobias/include/tobias_types.h:12,
from /home/tobias/devel/tobias/include/tobiastask.h:16,
from /home/tobias/devel/elements_display/control/src/elementscontrol.h:17,
from /home/tobias/devel/elements_display/control/src/elementscontrol.cpp:13:
/home/tobias/devel/tobias/include/tobiasvar.h:57:20: error: ‘TobiasVar::TobiasVar(const TobiasVar&)’ is private
Q_DISABLE_COPY(TobiasVar)
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:1000:5: note: in definition of macro ‘Q_DISABLE_COPY’
Class(const Class &) Q_DECL_EQ_DELETE;\
^
In file included from /home/tobias/devel/elements_display/control/src/elementscontrol.h:18:0,
from /home/tobias/devel/elements_display/control/src/elementscontrol.cpp:13:
/home/tobias/devel/tobias/include/simplevalue.h:22:7: error: within this context
class SimpleValue : public TobiasVar
^
/home/tobias/devel/tobias/include/simplevalue.h:22:7: error: use of deleted function ‘TobiasVar::TobiasVar(const TobiasVar&)’
In file included from /opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qalgorithms.h:45:0,
from /opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qlist.h:45,
from /opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/QList:1,
from /home/tobias/devel/tobias/include/tobias_types.h:12,
from /home/tobias/devel/tobias/include/tobiastask.h:16,
from /home/tobias/devel/elements_display/control/src/elementscontrol.h:17,
from /home/tobias/devel/elements_display/control/src/elementscontrol.cpp:13:
/home/tobias/devel/tobias/include/tobiasvar.h:57:20: note: declared here
Q_DISABLE_COPY(TobiasVar)
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:1000:5: note: in definition of macro ‘Q_DISABLE_COPY’
Class(const Class &) Q_DECL_EQ_DELETE;\
^
In file included from /home/tobias/devel/tobias/include/debug.h:11:0,
from /home/tobias/devel/tobias/include/simplevalue.tpp:29,
from /home/tobias/devel/tobias/include/simplevalue.h:68,
from /home/tobias/devel/elements_display/control/src/elementscontrol.h:18,
from /home/tobias/devel/elements_display/control/src/elementscontrol.cpp:13:
/home/tobias/devel/tobias/include/logger.h:28:108: error: cannot pass objects of non-trivially-copyable type ‘class SimpleValue<short unsigned int>’ through ‘...’
#define TOB_ERROR(x, ...) do { Logger::logMacro(Logger::LevelError, __PRETTY_FUNCTION__, x, ##__VA_ARGS__); } while(0)
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:652:13: note: in expansion of macro ‘TOB_ERROR’
TOB_ERROR("invalid targetPressure: %i", targetPress, mProcedureStep);
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:665:35: error: no ‘operator++(int)’ declared for postfix ‘++’ [-fpermissive]
mProcedureStep++;
^
In file included from /opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qalgorithms.h:45:0,
from /opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qlist.h:45,
from /opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/QList:1,
from /home/tobias/devel/tobias/include/tobias_types.h:12,
from /home/tobias/devel/tobias/include/tobiastask.h:16,
from /home/tobias/devel/elements_display/control/src/elementscontrol.h:17,
from /home/tobias/devel/elements_display/control/src/elementscontrol.cpp:13:
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:877:38: error: ‘class QForeachContainer<Recipe::Cone [4]>’ has no member named ‘i’
!_container_.brk && _container_.i != _container_.e; \
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:933:21: note: in expansion of macro ‘Q_FOREACH’
# define foreach Q_FOREACH
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:680:13: note: in expansion of macro ‘foreach’
foreach(Recipe::Cone *cn, mCones)
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:877:55: error: ‘class QForeachContainer<Recipe::Cone [4]>’ has no member named ‘e’
!_container_.brk && _container_.i != _container_.e; \
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:933:21: note: in expansion of macro ‘Q_FOREACH’
# define foreach Q_FOREACH
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:680:13: note: in expansion of macro ‘foreach’
foreach(Recipe::Cone *cn, mCones)
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:878:57: error: ‘class QForeachContainer<Recipe::Cone [4]>’ has no member named ‘i’
__extension__ ({ ++_container_.brk; ++_container_.i; })) \
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:933:21: note: in expansion of macro ‘Q_FOREACH’
# define foreach Q_FOREACH
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:680:13: note: in expansion of macro ‘foreach’
foreach(Recipe::Cone *cn, mCones)
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:879:34: error: ‘class QForeachContainer<Recipe::Cone [4]>’ has no member named ‘i’
for (variable = *_container_.i;; __extension__ ({--_container_.brk; break;}))
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:933:21: note: in expansion of macro ‘Q_FOREACH’
# define foreach Q_FOREACH
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:680:13: note: in expansion of macro ‘foreach’
foreach(Recipe::Cone *cn, mCones)
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:877:38: error: ‘class QForeachContainer<Recipe::Cone [4]>’ has no member named ‘i’
!_container_.brk && _container_.i != _container_.e; \
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:933:21: note: in expansion of macro ‘Q_FOREACH’
# define foreach Q_FOREACH
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:717:5: note: in expansion of macro ‘foreach’
foreach(Recipe::Cone *cn, mCones)
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:877:55: error: ‘class QForeachContainer<Recipe::Cone [4]>’ has no member named ‘e’
!_container_.brk && _container_.i != _container_.e; \
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:933:21: note: in expansion of macro ‘Q_FOREACH’
# define foreach Q_FOREACH
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:717:5: note: in expansion of macro ‘foreach’
foreach(Recipe::Cone *cn, mCones)
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:878:57: error: ‘class QForeachContainer<Recipe::Cone [4]>’ has no member named ‘i’
__extension__ ({ ++_container_.brk; ++_container_.i; })) \
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:933:21: note: in expansion of macro ‘Q_FOREACH’
# define foreach Q_FOREACH
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:717:5: note: in expansion of macro ‘foreach’
foreach(Recipe::Cone *cn, mCones)
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:879:34: error: ‘class QForeachContainer<Recipe::Cone [4]>’ has no member named ‘i’
for (variable = *_container_.i;; __extension__ ({--_container_.brk; break;}))
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:933:21: note: in expansion of macro ‘Q_FOREACH’
# define foreach Q_FOREACH
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:717:5: note: in expansion of macro ‘foreach’
foreach(Recipe::Cone *cn, mCones)
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp: In member function ‘void ElementsControl::automaticControl(bool, bool)’:
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:804:25: error: base operand of ‘->’ has non-pointer type ‘Recipe::Cone’
mCones[currCone]->value = Recipe::active;
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:811:33: error: base operand of ‘->’ has non-pointer type ‘Recipe::Cone’
mCones[currCone]->value = Recipe::inactive;
^
In file included from /opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qalgorithms.h:45:0,
from /opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qlist.h:45,
from /opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/QList:1,
from /home/tobias/devel/tobias/include/tobias_types.h:12,
from /home/tobias/devel/tobias/include/tobiastask.h:16,
from /home/tobias/devel/elements_display/control/src/elementscontrol.h:17,
from /home/tobias/devel/elements_display/control/src/elementscontrol.cpp:13:
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:877:38: error: ‘class QForeachContainer<Recipe::Cone [4]>’ has no member named ‘i’
!_container_.brk && _container_.i != _container_.e; \
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:933:21: note: in expansion of macro ‘Q_FOREACH’
# define foreach Q_FOREACH
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:851:9: note: in expansion of macro ‘foreach’
foreach (Recipe::Cone *cn, mCones)
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:877:55: error: ‘class QForeachContainer<Recipe::Cone [4]>’ has no member named ‘e’
!_container_.brk && _container_.i != _container_.e; \
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:933:21: note: in expansion of macro ‘Q_FOREACH’
# define foreach Q_FOREACH
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:851:9: note: in expansion of macro ‘foreach’
foreach (Recipe::Cone *cn, mCones)
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:878:57: error: ‘class QForeachContainer<Recipe::Cone [4]>’ has no member named ‘i’
__extension__ ({ ++_container_.brk; ++_container_.i; })) \
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:933:21: note: in expansion of macro ‘Q_FOREACH’
# define foreach Q_FOREACH
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:851:9: note: in expansion of macro ‘foreach’
foreach (Recipe::Cone *cn, mCones)
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:879:34: error: ‘class QForeachContainer<Recipe::Cone [4]>’ has no member named ‘i’
for (variable = *_container_.i;; __extension__ ({--_container_.brk; break;}))
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:933:21: note: in expansion of macro ‘Q_FOREACH’
# define foreach Q_FOREACH
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:851:9: note: in expansion of macro ‘foreach’
foreach (Recipe::Cone *cn, mCones)
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp: In member function ‘bool ElementsControl::pressReached(u16, u8) const’:
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:889:23: error: passing ‘const SimpleValue<float>’ as ‘this’ argument of ‘SimpleValue<T>::operator T() [with T = float]’ discards qualifiers [-fpermissive]
float currPress = mCalculatedPressure;
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp: In member function ‘void ElementsControl::printOutputs()’:
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:906:79: error: use of deleted function ‘SimpleValue<bool>::SimpleValue(const SimpleValue<bool>&)’
qDebug("flakeSwitch:%u mainValve:%u", mDigOutFlakeswitch, mDigOutMainvalve);
^
In file included from /home/tobias/devel/elements_display/control/src/elementscontrol.h:18:0,
from /home/tobias/devel/elements_display/control/src/elementscontrol.cpp:13:
/home/tobias/devel/tobias/include/simplevalue.h:22:7: note: ‘SimpleValue<bool>::SimpleValue(const SimpleValue<bool>&)’ is implicitly deleted because the default definition would be ill-formed:
class SimpleValue : public TobiasVar
^
In file included from /opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qalgorithms.h:45:0,
from /opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qlist.h:45,
from /opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/QList:1,
from /home/tobias/devel/tobias/include/tobias_types.h:12,
from /home/tobias/devel/tobias/include/tobiastask.h:16,
from /home/tobias/devel/elements_display/control/src/elementscontrol.h:17,
from /home/tobias/devel/elements_display/control/src/elementscontrol.cpp:13:
/home/tobias/devel/tobias/include/tobiasvar.h:57:20: error: ‘TobiasVar::TobiasVar(const TobiasVar&)’ is private
Q_DISABLE_COPY(TobiasVar)
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:1000:5: note: in definition of macro ‘Q_DISABLE_COPY’
Class(const Class &) Q_DECL_EQ_DELETE;\
^
In file included from /home/tobias/devel/elements_display/control/src/elementscontrol.h:18:0,
from /home/tobias/devel/elements_display/control/src/elementscontrol.cpp:13:
/home/tobias/devel/tobias/include/simplevalue.h:22:7: error: within this context
class SimpleValue : public TobiasVar
^
/home/tobias/devel/tobias/include/simplevalue.h:22:7: error: use of deleted function ‘TobiasVar::TobiasVar(const TobiasVar&)’
In file included from /opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qalgorithms.h:45:0,
from /opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qlist.h:45,
from /opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/QList:1,
from /home/tobias/devel/tobias/include/tobias_types.h:12,
from /home/tobias/devel/tobias/include/tobiastask.h:16,
from /home/tobias/devel/elements_display/control/src/elementscontrol.h:17,
from /home/tobias/devel/elements_display/control/src/elementscontrol.cpp:13:
/home/tobias/devel/tobias/include/tobiasvar.h:57:20: note: declared here
Q_DISABLE_COPY(TobiasVar)
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:1000:5: note: in definition of macro ‘Q_DISABLE_COPY’
Class(const Class &) Q_DECL_EQ_DELETE;\
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:906:79: error: cannot pass objects of non-trivially-copyable type ‘class SimpleValue<bool>’ through ‘...’
qDebug("flakeSwitch:%u mainValve:%u", mDigOutFlakeswitch, mDigOutMainvalve);
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:906:79: error: use of deleted function ‘SimpleValue<bool>::SimpleValue(const SimpleValue<bool>&)’
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:906:79: error: cannot pass objects of non-trivially-copyable type ‘class SimpleValue<bool>’ through ‘...’
In file included from /opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qalgorithms.h:45:0,
from /opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qlist.h:45,
from /opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/QList:1,
from /home/tobias/devel/tobias/include/tobias_types.h:12,
from /home/tobias/devel/tobias/include/tobiastask.h:16,
from /home/tobias/devel/elements_display/control/src/elementscontrol.h:17,
from /home/tobias/devel/elements_display/control/src/elementscontrol.cpp:13:
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:877:38: error: ‘class QForeachContainer<Recipe::Cone [4]>’ has no member named ‘i’
!_container_.brk && _container_.i != _container_.e; \
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:933:21: note: in expansion of macro ‘Q_FOREACH’
# define foreach Q_FOREACH
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:907:5: note: in expansion of macro ‘foreach’
foreach(Recipe::Cone *cn, mCones)
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:877:55: error: ‘class QForeachContainer<Recipe::Cone [4]>’ has no member named ‘e’
!_container_.brk && _container_.i != _container_.e; \
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:933:21: note: in expansion of macro ‘Q_FOREACH’
# define foreach Q_FOREACH
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:907:5: note: in expansion of macro ‘foreach’
foreach(Recipe::Cone *cn, mCones)
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:878:57: error: ‘class QForeachContainer<Recipe::Cone [4]>’ has no member named ‘i’
__extension__ ({ ++_container_.brk; ++_container_.i; })) \
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:933:21: note: in expansion of macro ‘Q_FOREACH’
# define foreach Q_FOREACH
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:907:5: note: in expansion of macro ‘foreach’
foreach(Recipe::Cone *cn, mCones)
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:879:34: error: ‘class QForeachContainer<Recipe::Cone [4]>’ has no member named ‘i’
for (variable = *_container_.i;; __extension__ ({--_container_.brk; break;}))
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:933:21: note: in expansion of macro ‘Q_FOREACH’
# define foreach Q_FOREACH
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:907:5: note: in expansion of macro ‘foreach’
foreach(Recipe::Cone *cn, mCones)
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:911:44: error: use of deleted function ‘SimpleValue<short unsigned int>::SimpleValue(const SimpleValue<short unsigned int>&)’
qDebug("air:%u mat:%u", mAir, mMaterial);
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:911:44: error: cannot pass objects of non-trivially-copyable type ‘class SimpleValue<short unsigned int>’ through ‘...’
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:911:44: error: use of deleted function ‘SimpleValue<short unsigned int>::SimpleValue(const SimpleValue<short unsigned int>&)’
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:911:44: error: cannot pass objects of non-trivially-copyable type ‘class SimpleValue<short unsigned int>’ through ‘...’
In file included from /opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qalgorithms.h:45:0,
from /opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qlist.h:45,
from /opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/QList:1,
from /home/tobias/devel/tobias/include/tobias_types.h:12,
from /home/tobias/devel/tobias/include/tobiastask.h:16,
from /home/tobias/devel/elements_display/control/src/elementscontrol.h:17,
from /home/tobias/devel/elements_display/control/src/elementscontrol.cpp:13:
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h: In instantiation of ‘class QForeachContainer<const Recipe::Cone [4]>’:
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:1042:5: required from here
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:872:32: error: ‘const Recipe::Cone [4]’ is not a class, struct, or union type
typename T::const_iterator i, e;
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:872:35: error: ‘const Recipe::Cone [4]’ is not a class, struct, or union type
typename T::const_iterator i, e;
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp: In member function ‘int ElementsControl::currentlyActiveCone() const’:
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:877:38: error: ‘class QForeachContainer<const Recipe::Cone [4]>’ has no member named ‘i’
!_container_.brk && _container_.i != _container_.e; \
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:933:21: note: in expansion of macro ‘Q_FOREACH’
# define foreach Q_FOREACH
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:1042:5: note: in expansion of macro ‘foreach’
foreach (Recipe::Cone *cn, mCones)
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:877:55: error: ‘class QForeachContainer<const Recipe::Cone [4]>’ has no member named ‘e’
!_container_.brk && _container_.i != _container_.e; \
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:933:21: note: in expansion of macro ‘Q_FOREACH’
# define foreach Q_FOREACH
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:1042:5: note: in expansion of macro ‘foreach’
foreach (Recipe::Cone *cn, mCones)
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:878:57: error: ‘class QForeachContainer<const Recipe::Cone [4]>’ has no member named ‘i’
__extension__ ({ ++_container_.brk; ++_container_.i; })) \
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:933:21: note: in expansion of macro ‘Q_FOREACH’
# define foreach Q_FOREACH
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:1042:5: note: in expansion of macro ‘foreach’
foreach (Recipe::Cone *cn, mCones)
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:879:34: error: ‘class QForeachContainer<const Recipe::Cone [4]>’ has no member named ‘i’
for (variable = *_container_.i;; __extension__ ({--_container_.brk; break;}))
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:933:21: note: in expansion of macro ‘Q_FOREACH’
# define foreach Q_FOREACH
^
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:1042:5: note: in expansion of macro ‘foreach’
foreach (Recipe::Cone *cn, mCones)
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h: In instantiation of ‘QForeachContainer<T>::QForeachContainer(const T&) [with T = Recipe::Cone [4]]’:
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:499:5: required from here
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:869:81: error: using invalid field ‘QForeachContainer<T>::i’
inline QForeachContainer(const T& t) : c(t), brk(0), i(c.begin()), e(c.end()) { }
^
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:869:81: error: request for member ‘begin’ in ‘((QForeachContainer<Recipe::Cone [4]>*)this)->QForeachContainer<Recipe::Cone [4]>::c’, which is of non-class type ‘const Recipe::Cone [4]’
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:869:81: error: using invalid field ‘QForeachContainer<T>::e’
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:869:81: error: request for member ‘end’ in ‘((QForeachContainer<Recipe::Cone [4]>*)this)->QForeachContainer<Recipe::Cone [4]>::c’, which is of non-class type ‘const Recipe::Cone [4]’
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h: In instantiation of ‘QForeachContainer<T>::QForeachContainer(const T&) [with T = const Recipe::Cone [4]]’:
/home/tobias/devel/elements_display/control/src/elementscontrol.cpp:1042:5: required from here
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:869:81: error: using invalid field ‘QForeachContainer<T>::i’
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:869:81: error: request for member ‘begin’ in ‘((QForeachContainer<const Recipe::Cone [4]>*)this)->QForeachContainer<const Recipe::Cone [4]>::c’, which is of non-class type ‘const Recipe::Cone [4]’
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:869:81: error: using invalid field ‘QForeachContainer<T>::e’
/opt/TI/buildroot_tobias/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/qt5/QtCore/qglobal.h:869:81: error: request for member ‘end’ in ‘((QForeachContainer<const Recipe::Cone [4]>*)this)->QForeachContainer<const Recipe::Cone [4]>::c’, which is of non-class type ‘const Recipe::Cone [4]’
make[3]: *** [control/src/CMakeFiles/tobias_isocell_elements_control.dir/elementscontrol.cpp.o] Error 1
make[2]: *** [control/src/CMakeFiles/tobias_isocell_elements_control.dir/all] Error 2
make[1]: *** [control/src/CMakeFiles/isocell_elements_control.dir/rule] Error 2
make: *** [isocell_elements_control] Error 2
This might be related to issue #4: Sometimes the compilation stops. Disabling gccfilter helps. Below is an example compilation output which causes such a hang.