Re: [Boost-bugs] [Boost C++ Libraries] #13326: linking with program_options has unresolved symbols on MSVC

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #13326: linking with program_options has unresolved symbols on MSVC
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-12-10 09:03:25


#13326: linking with program_options has unresolved symbols on MSVC
-----------------------------------------+-----------------------------
  Reporter: Mario Emmenlauer <mario@…> | Owner: Vladimir Prus
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: program_options
   Version: Boost 1.65.0 | Severity: Problem
Resolution: | Keywords:
-----------------------------------------+-----------------------------

Comment (by Mario Emmenlauer <mario@…>):

 I investigated a bit and I think I found a new hint. As far as I could
 see, it's no longer supported to export STL classes from a DLL with Visual
 Studio 2017. There are various reports that indicate that exporting STL
 classes can cause issues when mixing different runtimes or compiler
 versions. Is it possible that Microsoft just disabled that option
 alltogether?

 I found related reports here:
   * https://social.msdn.microsoft.com/Forums/vstudio/en-US/df99b712-c00b-
 4af0-82fd-3764c8b6cbec/exporting-stdstring-from-a-dll-does-not-export-
 stdstringnpos
   * https://stackoverflow.com/a/13866797/7200132

-- 
Ticket URL: <https://svn.boost.org/trac10/boost/ticket/13326#comment:1>
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-12-10 09:09:32 UTC