<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/75143>75143</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            gcc 7.5 : libomptarget : error:  conversion from 'std::unique_ptr' to 'llvm::Expected< >
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          SunilKuravinakop
      </td>
    </tr>
</table>

<pre>
    When compiling with gcc 7.5 we get the following error:
nochange/openmp/libomptarget/src/PluginManager.cpp:54:10:
error: could not convert 'PluginAdaptor' from 'std::unique_ptr<PluginAdaptorTy>' to 'llvm::Expected<std::unique_ptr<PluginAdaptorTy> >
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyMkk9v1DAQxT_N5GI1isf510MOoW0uCAkJJI7I68wmBsc2trNLvz1ylha4VJwi5c178vzeyBj1YokGaN5B81jIPa0uDJ92q837PciLtvK788XJzc_Dl5UsU27z2mi7sKtOK1uUYl3ZsCuxhRJLK7GzM8Zd8wSF4AKIEapHqEbr1CrtQoCT82Q3DzgZfXKbTzIslACnGBTg9NHsi7YfpJULhVJ5D2JsahAjr17DXqKZcruZmXWJKWcvFBID7G4J4yx9cgGwY-fgtizENOcIMe5W_9jpq08BxMM_45-fQTxlT3LZYcxlu1mefnpSiWYQD_8bw0A8FfMg5ntxLwsaeFehaJGLpliHc429vO_UuW1527d9rXgrsG2VVC2nngo9YIWCI8eqReRN2ZHsJclatr3ivDpDXdEmtSnzI0sXlkLHuNPQNbwWhZEnMvFoFtHSlR0iIOaiw5A9d6d9iVBXRscU_6QknQwNL9Vmyn_3dPx45f8be9TOvkn5baAHqD2YYU3JxyzjBDgtOq37qVRuy7eSjbfPnQ_uG6l8MsdSEXA6lv4VAAD__9ab53M">