Uploaded image for project: ' AGL Development'
  1. AGL Development
  2. SPEC-3202

WAM build failure due to std::move (compiler update from yocto/zeus)

    XMLWordPrintable

Details

    Description

      Due to update to gcc 9 (I guess) I can no longer build WAM: 

       

      | /shared/workspace_agl/qemux86-64/tmp/work/corei7-64-agl-linux/wam/git-r0/git/src/platform/webengine/BlinkWebProcessManager.cpp: In member function 'virtual Json::Value BlinkWebProcessManager::getWebProcessProfiling()':
      | /shared/workspace_agl/qemux86-64/tmp/work/corei7-64-agl-linux/wam/git-r0/git/src/platform/webengine/BlinkWebProcessManager.cpp:83:21: error: moving a local object in a return statement prevents copy elision [-Werror=pessimizing-move]
      | 83 | return std::move(reply);
      | | ~~~~~~~~~^~~~~~~
      | /shared/workspace_agl/qemux86-64/tmp/work/corei7-64-agl-linux/wam/git-r0/git/src/platform/webengine/BlinkWebProcessManager.cpp:83:21: note: remove 'std::move' call
      | cc1plus: all warnings being treated as errors

      Attachments

        # Subject Branch Project Status CR V

        Activity

          People

            ltilve Lorenzo Tilve
            mvlad Marius Vlad
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: