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

      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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved: