Advertisement
Guest User

Untitled

a guest
Jun 1st, 2020
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 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
  2. In file included from F:\Qt\Qt5.13.1\5.13.1\mingw73_32\include/QtConcurrent/qtconcurrentfilterkernel.h:48:0,
  3.                  from F:\Qt\Qt5.13.1\5.13.1\mingw73_32\include\QtConcurrent/qtconcurrentfilter.h:47,
  4.                  from F:\Qt\Qt5.13.1\5.13.1\mingw73_32\include\QtConcurrent/QtConcurrent:8,
  5.                  from ..\ThreadTester\thread.h:11,
  6.                  from ..\ThreadTester\mainwindow.h:6,
  7.                  from ..\ThreadTester\mainwindow.cpp:1:
  8. 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&)> >':
  9. 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&)> >'
  10. 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&)>]'
  11. 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]'
  12. ..\ThreadTester\mainwindow.cpp:44:7:   required from here
  13. 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&)>'
  14.  class MappedEachKernel : public IterateKernel<Iterator, typename MapFunctor::result_type>
  15.        ^~~~~~~~~~~~~~~~
  16. 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&)>'
  17.      typedef typename MapFunctor::result_type T;
  18.                                               ^
  19. 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&)> >':
  20. 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&)>]'
  21. 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]'
  22. ..\ThreadTester\mainwindow.cpp:44:7:   required from here
  23. 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
  24.      void finish() override
  25.           ^~~~~~
  26. 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&)>]':
  27. 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]'
  28. ..\ThreadTester\mainwindow.cpp:44:7:   required from here
  29. 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*)'
  30.      return startThreadEngine(new SequenceHolderType(sequence, functor));
  31.             ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  32. In file included from F:\Qt\Qt5.13.1\5.13.1\mingw73_32\include/QtConcurrent/qtconcurrentiteratekernel.h:49:0,
  33.                  from F:\Qt\Qt5.13.1\5.13.1\mingw73_32\include/QtConcurrent/qtconcurrentfilterkernel.h:47,
  34.                  from F:\Qt\Qt5.13.1\5.13.1\mingw73_32\include\QtConcurrent/qtconcurrentfilter.h:47,
  35.                  from F:\Qt\Qt5.13.1\5.13.1\mingw73_32\include\QtConcurrent/QtConcurrent:8,
  36.                  from ..\ThreadTester\thread.h:11,
  37.                  from ..\ThreadTester\mainwindow.h:6,
  38.                  from ..\ThreadTester\mainwindow.cpp:1:
  39. 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*)
  40.  inline ThreadEngineStarter<typename ThreadEngine::ResultType> startThreadEngine(ThreadEngine *threadEngine)
  41.                                                                ^~~~~~~~~~~~~~~~~
  42. F:\Qt\Qt5.13.1\5.13.1\mingw73_32\include/QtConcurrent/qtconcurrentthreadengine.h:262:63: note:   template argument deduction/substitution failed:
  43. In file included from F:\Qt\Qt5.13.1\5.13.1\mingw73_32\include/QtConcurrent/qtconcurrentfilterkernel.h:48:0,
  44.                  from F:\Qt\Qt5.13.1\5.13.1\mingw73_32\include\QtConcurrent/qtconcurrentfilter.h:47,
  45.                  from F:\Qt\Qt5.13.1\5.13.1\mingw73_32\include\QtConcurrent/QtConcurrent:8,
  46.                  from ..\ThreadTester\thread.h:11,
  47.                  from ..\ThreadTester\mainwindow.h:6,
  48.                  from ..\ThreadTester\mainwindow.cpp:1:
  49. 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]
  50.      SequenceHolder1(const Sequence &_sequence, Functor functor)
  51.      ^~~~~~~~~~~~~~~
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement