Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- g++ -c -fno-keep-inline-dllexport -g -std=gnu++11 -Wall -W -Wextra -fexceptions -mthreads -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -DQT_DEPRECATED_WARNINGS -DQT_QML_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -I..\ThreadTester -I. -IF:\Qt\Qt5.13.1\5.13.1\mingw73_32\include -IF:\Qt\Qt5.13.1\5.13.1\mingw73_32\include\QtWidgets -IF:\Qt\Qt5.13.1\5.13.1\mingw73_32\include\QtGui -IF:\Qt\Qt5.13.1\5.13.1\mingw73_32\include\QtANGLE -IF:\Qt\Qt5.13.1\5.13.1\mingw73_32\include\QtConcurrent -IF:\Qt\Qt5.13.1\5.13.1\mingw73_32\include\QtCore -Idebug -I. -IF:\Qt\Qt5.13.1\5.13.1\mingw73_32\mkspecs\win32-g++ -o debug\moc_mainwindow.o debug\moc_mainwindow.cpp
- In file included from F:\Qt\Qt5.13.1\5.13.1\mingw73_32\include/QtConcurrent/qtconcurrentfilterkernel.h:48:0,
- from F:\Qt\Qt5.13.1\5.13.1\mingw73_32\include\QtConcurrent/qtconcurrentfilter.h:47,
- from F:\Qt\Qt5.13.1\5.13.1\mingw73_32\include\QtConcurrent/QtConcurrent:8,
- from ..\ThreadTester\thread.h:11,
- from ..\ThreadTester\mainwindow.h:6,
- from ..\ThreadTester\mainwindow.cpp:1:
- F:\Qt\Qt5.13.1\5.13.1\mingw73_32\include/QtConcurrent/qtconcurrentmapkernel.h: In instantiation of 'class QtConcurrent::MappedEachKernel<QList<MainWindow::IntStruct>::const_iterator, MainWindow::MainWindow(QWidget*)::<lambda(MainWindow::IntStruct&)> >':
- F:\Qt\Qt5.13.1\5.13.1\mingw73_32\include/QtConcurrent/qtconcurrentmapkernel.h:212:8: required from 'struct QtConcurrent::SequenceHolder1<QList<MainWindow::IntStruct>, QtConcurrent::MappedEachKernel<QList<MainWindow::IntStruct>::const_iterator, MainWindow::MainWindow(QWidget*)::<lambda(MainWindow::IntStruct&)> >, MainWindow::MainWindow(QWidget*)::<lambda(MainWindow::IntStruct&)> >'
- F:\Qt\Qt5.13.1\5.13.1\mingw73_32\include/QtConcurrent/qtconcurrentmapkernel.h:237:30: required from 'QtConcurrent::ThreadEngineStarter<T> QtConcurrent::startMapped(const Sequence&, Functor) [with T = void; Sequence = QList<MainWindow::IntStruct>; Functor = MainWindow::MainWindow(QWidget*)::<lambda(MainWindow::IntStruct&)>]'
- F:\Qt\Qt5.13.1\5.13.1\mingw73_32\include\QtConcurrent/qtconcurrentmap.h:132:88: required from 'QFuture<typename QtPrivate::MapResultType<void, MapFunctor>::ResultType> QtConcurrent::mapped(const Sequence&, MapFunctor) [with Sequence = QList<MainWindow::IntStruct>; MapFunctor = MainWindow::MainWindow(QWidget*)::<lambda(MainWindow::IntStruct&)>; typename QtPrivate::MapResultType<void, MapFunctor>::ResultType = void]'
- ..\ThreadTester\mainwindow.cpp:44:7: required from here
- F:\Qt\Qt5.13.1\5.13.1\mingw73_32\include/QtConcurrent/qtconcurrentmapkernel.h:162:7: error: no type named 'result_type' in 'struct MainWindow::MainWindow(QWidget*)::<lambda(struct MainWindow::IntStruct&)>'
- class MappedEachKernel : public IterateKernel<Iterator, typename MapFunctor::result_type>
- ^~~~~~~~~~~~~~~~
- F:\Qt\Qt5.13.1\5.13.1\mingw73_32\include/QtConcurrent/qtconcurrentmapkernel.h:165:46: error: no type named 'result_type' in 'struct MainWindow::MainWindow(QWidget*)::<lambda(struct MainWindow::IntStruct&)>'
- typedef typename MapFunctor::result_type T;
- ^
- F:\Qt\Qt5.13.1\5.13.1\mingw73_32\include/QtConcurrent/qtconcurrentmapkernel.h: In instantiation of 'struct QtConcurrent::SequenceHolder1<QList<MainWindow::IntStruct>, QtConcurrent::MappedEachKernel<QList<MainWindow::IntStruct>::const_iterator, MainWindow::MainWindow(QWidget*)::<lambda(MainWindow::IntStruct&)> >, MainWindow::MainWindow(QWidget*)::<lambda(MainWindow::IntStruct&)> >':
- F:\Qt\Qt5.13.1\5.13.1\mingw73_32\include/QtConcurrent/qtconcurrentmapkernel.h:237:30: required from 'QtConcurrent::ThreadEngineStarter<T> QtConcurrent::startMapped(const Sequence&, Functor) [with T = void; Sequence = QList<MainWindow::IntStruct>; Functor = MainWindow::MainWindow(QWidget*)::<lambda(MainWindow::IntStruct&)>]'
- F:\Qt\Qt5.13.1\5.13.1\mingw73_32\include\QtConcurrent/qtconcurrentmap.h:132:88: required from 'QFuture<typename QtPrivate::MapResultType<void, MapFunctor>::ResultType> QtConcurrent::mapped(const Sequence&, MapFunctor) [with Sequence = QList<MainWindow::IntStruct>; MapFunctor = MainWindow::MainWindow(QWidget*)::<lambda(MainWindow::IntStruct&)>; typename QtPrivate::MapResultType<void, MapFunctor>::ResultType = void]'
- ..\ThreadTester\mainwindow.cpp:44:7: required from here
- F:\Qt\Qt5.13.1\5.13.1\mingw73_32\include/QtConcurrent/qtconcurrentmapkernel.h:220:10: error: 'void QtConcurrent::SequenceHolder1<Sequence, Base, Functor>::finish() [with Sequence = QList<MainWindow::IntStruct>; Base = QtConcurrent::MappedEachKernel<QList<MainWindow::IntStruct>::const_iterator, MainWindow::MainWindow(QWidget*)::<lambda(MainWindow::IntStruct&)> >; Functor = MainWindow::MainWindow(QWidget*)::<lambda(MainWindow::IntStruct&)>]' marked 'override', but does not override
- void finish() override
- ^~~~~~
- F:\Qt\Qt5.13.1\5.13.1\mingw73_32\include/QtConcurrent/qtconcurrentmapkernel.h: In instantiation of 'QtConcurrent::ThreadEngineStarter<T> QtConcurrent::startMapped(const Sequence&, Functor) [with T = void; Sequence = QList<MainWindow::IntStruct>; Functor = MainWindow::MainWindow(QWidget*)::<lambda(MainWindow::IntStruct&)>]':
- F:\Qt\Qt5.13.1\5.13.1\mingw73_32\include\QtConcurrent/qtconcurrentmap.h:132:88: required from 'QFuture<typename QtPrivate::MapResultType<void, MapFunctor>::ResultType> QtConcurrent::mapped(const Sequence&, MapFunctor) [with Sequence = QList<MainWindow::IntStruct>; MapFunctor = MainWindow::MainWindow(QWidget*)::<lambda(MainWindow::IntStruct&)>; typename QtPrivate::MapResultType<void, MapFunctor>::ResultType = void]'
- ..\ThreadTester\mainwindow.cpp:44:7: required from here
- F:\Qt\Qt5.13.1\5.13.1\mingw73_32\include/QtConcurrent/qtconcurrentmapkernel.h:237:29: error: no matching function for call to 'startThreadEngine(SequenceHolderType*)'
- return startThreadEngine(new SequenceHolderType(sequence, functor));
- ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from F:\Qt\Qt5.13.1\5.13.1\mingw73_32\include/QtConcurrent/qtconcurrentiteratekernel.h:49:0,
- from F:\Qt\Qt5.13.1\5.13.1\mingw73_32\include/QtConcurrent/qtconcurrentfilterkernel.h:47,
- from F:\Qt\Qt5.13.1\5.13.1\mingw73_32\include\QtConcurrent/qtconcurrentfilter.h:47,
- from F:\Qt\Qt5.13.1\5.13.1\mingw73_32\include\QtConcurrent/QtConcurrent:8,
- from ..\ThreadTester\thread.h:11,
- from ..\ThreadTester\mainwindow.h:6,
- from ..\ThreadTester\mainwindow.cpp:1:
- F:\Qt\Qt5.13.1\5.13.1\mingw73_32\include/QtConcurrent/qtconcurrentthreadengine.h:262:63: note: candidate: template<class ThreadEngine> QtConcurrent::ThreadEngineStarter<typename ThreadEngine::ResultType> QtConcurrent::startThreadEngine(ThreadEngine*)
- inline ThreadEngineStarter<typename ThreadEngine::ResultType> startThreadEngine(ThreadEngine *threadEngine)
- ^~~~~~~~~~~~~~~~~
- F:\Qt\Qt5.13.1\5.13.1\mingw73_32\include/QtConcurrent/qtconcurrentthreadengine.h:262:63: note: template argument deduction/substitution failed:
- In file included from F:\Qt\Qt5.13.1\5.13.1\mingw73_32\include/QtConcurrent/qtconcurrentfilterkernel.h:48:0,
- from F:\Qt\Qt5.13.1\5.13.1\mingw73_32\include\QtConcurrent/qtconcurrentfilter.h:47,
- from F:\Qt\Qt5.13.1\5.13.1\mingw73_32\include\QtConcurrent/QtConcurrent:8,
- from ..\ThreadTester\thread.h:11,
- from ..\ThreadTester\mainwindow.h:6,
- from ..\ThreadTester\mainwindow.cpp:1:
- F:\Qt\Qt5.13.1\5.13.1\mingw73_32\include/QtConcurrent/qtconcurrentmapkernel.h:214:5: error: 'QtConcurrent::SequenceHolder1<Sequence, Base, Functor>::SequenceHolder1(const Sequence&, Functor) [with Sequence = QList<MainWindow::IntStruct>; Base = QtConcurrent::MappedEachKernel<QList<MainWindow::IntStruct>::const_iterator, MainWindow::MainWindow(QWidget*)::<lambda(MainWindow::IntStruct&)> >; Functor = MainWindow::MainWindow(QWidget*)::<lambda(MainWindow::IntStruct&)>]', declared using local type 'MainWindow::MainWindow(QWidget*)::<lambda(MainWindow::IntStruct&)>', is used but never defined [-fpermissive]
- SequenceHolder1(const Sequence &_sequence, Functor functor)
- ^~~~~~~~~~~~~~~
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement