Boost C++ Libraries: Ticket #12886: Loading shared libraries with appended decorations hides actual errors in case of failure https://svn.boost.org/trac10/ticket/12886 <p> When loading a shared library with the boost shared_library class from dll module using the boost::dll::load_mode::append_decorations mode and the loading fails for some reason, the function tries to load the library without decorations. If this also fails because the decorations are mandatory to be appended, the original error of the first (failed) load attempt is hidden, i.e. in the thrown exception, only the error with failed loading due to not found file is visible. </p> <p> Better would be when the loading without appended decorations would be done only in case the boost::dll::load_mode::append_decorations mode is not applied. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/12886 Trac 1.4.3 John Maddock Thu, 10 May 2018 10:55:01 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/12886#comment:1 https://svn.boost.org/trac10/ticket/12886#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">obsolete</span> </li> </ul> <p> Moved to <a class="ext-link" href="https://github.com/boostorg/dll/issues/19"><span class="icon">​</span>https://github.com/boostorg/dll/issues/19</a> </p> Ticket