[Boost-bugs] [Boost C++ Libraries] #12886: Loading shared libraries with appended decorations hides actual errors in case of failure

Subject: [Boost-bugs] [Boost C++ Libraries] #12886: Loading shared libraries with appended decorations hides actual errors in case of failure
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-03-07 06:12:30


#12886: Loading shared libraries with appended decorations hides actual errors in
case of failure
-----------------------+------------------------------
 Reporter: anonymous | Type: Bugs
   Status: new | Milestone: To Be Determined
Component: None | Version: Boost 1.63.0
 Severity: Problem | Keywords:
-----------------------+------------------------------
 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.

 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.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/12886>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-03-07 06:15:43 UTC