Change in GCC 7.1
In file included from /usr/include/c++/6/vector:69:0, from /usr/include/qt4/QtCore/qvector.h:52, from /usr/include/qt4/QtGui/qpolygon.h:45, from /usr/include/qt4/QtGui/qmatrix.h:45, from /usr/include/qt4/QtGui/qpainterpath.h:45, from /usr/include/qt4/QtGui/qgraphicsitem.h:50, from /usr/include/qt4/QtGui/QGraphicsLineItem:1, from ide/CGComposer/CGCompositionItem.h:16, from ide/CGComposer/CGCompositionItem.cpp:13: /usr/include/c++/6/bits/vector.tcc: In member function ‘void std::vector<_Tp, _Alloc>::_M_insert_aux(std::vector<_Tp, _Alloc>::iterator, const _Tp&) [with _Tp = double; _Alloc = std::allocator]’: /usr/include/c++/6/bits/vector.tcc:326:5: note: parameter passing for argument of type ‘std::vector<double, std::allocator >::iterator {aka __gnu_cxx::__normal_iterator<double*, std::vector<double, std::allocator > >}’ will change in GCC 7.1 vector<_Tp, _Alloc>:: ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/6/vector:64:0, from /usr/include/qt4/QtCore/qvector.h:52, from /usr/include/qt4/QtGui/qpolygon.h:45, from /usr/include/qt4/QtGui/qmatrix.h:45, from /usr/include/qt4/QtGui/qpainterpath.h:45, from /usr/include/qt4/QtGui/qgraphicsitem.h:50, from /usr/include/qt4/QtGui/QGraphicsLineItem:1, from ide/CGComposer/CGCompositionItem.h:16, from ide/CGComposer/CGCompositionItem.cpp:13: /usr/include/c++/6/bits/stl_vector.h: In member function ‘QPointF CGConnector::checkPosition(double, double)’: /usr/include/c++/6/bits/stl_vector.h:926:4: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<double*, std::vector<double, std::allocator > >’ will change in GCC 7.1 _M_insert_aux(end(), __x); ^~~~~~~~~~~~~