Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-60438

error: 'future_error' is unavailable: introduced in macOS 10.8

    XMLWordPrintable

Details

    • macOS
    • 898afbbf79637101bbd5e6ab12695ced6a759ae7 4ee9cf19095a66b1cdb47229b1a1e7957dff584f

    Description

      https://codereview.qt-project.org/#/c/192636/
      https://testresults.qt.io/coin/integration/qt/qt5/tasks/1493266937
      https://testresults.qt.io/logs/qt/qtwebengine/0ba60c53fc452bd521d3cc1196be0dc275a525d2/MacOSMacOS_10_12x86_64MacOSMacOS_10_12x86_64Clangqtci-macos-10.12-x86_64-8-9c9eebDebugAndRelease_Release_DisableTests/b8f57cff7d16891dccb28b475141d9bc46b644e1/build_1493267153/buildlog.txt.gz

      In file included from /Users/qt/work/qt/qtwebengine/src/core/location_provider_qt.cpp:48:
      In file included from /Users/qt/work/install/lib/QtCore.framework/Headers/QThread:1:
      In file included from /Users/qt/work/install/lib/QtCore.framework/Headers/qthread.h:52:
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/future:1447:23: error: 'future_error' is unavailable: introduced in macOS 10.8
                            future_error(make_error_code(future_errc::broken_promise))
                            ^
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/future:502:63: note: 'future_error' has been explicitly marked unavailable here
      class _LIBCPP_EXCEPTION_ABI _LIBCPP_AVAILABILITY_FUTURE_ERROR future_error
                                                                    ^
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/future:1621:23: error: 'future_error' is unavailable: introduced in macOS 10.8
                            future_error(make_error_code(future_errc::broken_promise))
                            ^
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/future:502:63: note: 'future_error' has been explicitly marked unavailable here
      class _LIBCPP_EXCEPTION_ABI _LIBCPP_AVAILABILITY_FUTURE_ERROR future_error
                                                                    ^
      2 errors generated.
      [18374/18451] CXX obj/QtWebEngineCore/print_view_manager_base_qt.o
      In file included from /Users/qt/work/qt/qtwebengine/src/core/print_view_manager_base_qt.cpp:42:
      In file included from /Users/qt/work/qt/qtwebengine/src/core/print_view_manager_qt.h:44:
      /Users/qt/work/qt/qtwebengine/src/core/print_view_manager_base_qt.h:149:10: warning: private field 'm_isExpectingFirstPage' is not used [-Wunused-private-field]
          bool m_isExpectingFirstPage;
               ^
      1 warning generated.
      [18375/18451] CXX obj/QtWebEngineCore/browser_message_filter_qt.o
      [18376/18451] CXX obj/QtWebEngineCore/content_client_qt.o
      [18377/18451] CXX obj/QtWebEngineCore/certificate_error_controller.o
      [18378/18451] CXX obj/QtWebEngineCore/print_view_manager_qt.o
      [18379/18451] CXX obj/QtWebEngineCore/browser_context_qt.o
      [18380/18451] CXX obj/QtWebEngineCore/browser_context_adapter.o
      ninja: build stopped: subcommand failed.
      make[4]: *** [run_ninja] Error 1
      make[3]: *** [release-all] Error 2
      make[2]: *** [sub-gn_run-pro-make_first] Error 2
      make[1]: *** [sub-core-make_first] Error 2
      make: *** [sub-src-make_first] Error 2
      

      also failed in macos 10.11 build. 10.10 is fine.

      Attachments

        Activity

          People

            alexandru.croitor Alexandru Croitor
            liaqi Liang Qi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: