Boost C++ Libraries: Ticket #4335: Unresolved external symbols for MSVC with link=shared https://svn.boost.org/trac10/ticket/4335 <p> Since the definitions for the methods of file_descriptor_source and file_descriptor_sink were moved to the CPP file, those classes now need to be declared with BOOST_IOSTREAMS_DECL like file_descriptor is. This is a trivial fix which is absolutely necessary for iostreams to work with link=shared. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/4335 Trac 1.4.3 matt.chambers42@… Fri, 11 Jun 2010 17:29:30 GMT <link>https://svn.boost.org/trac10/ticket/4335#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/4335#comment:1</guid> <description> <p> The classes in question are in: boost/iostreams/device/file_descriptor.hpp </p> <p> -class file_descriptor_source : private file_descriptor { +class BOOST_IOSTREAMS_DECL file_descriptor_source : private file_descriptor { </p> <p> -class file_descriptor_sink : private file_descriptor { +class BOOST_IOSTREAMS_DECL file_descriptor_sink : private file_descriptor { </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Steven Watanabe</dc:creator> <pubDate>Fri, 11 Jun 2010 18:55:32 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/4335#comment:2 https://svn.boost.org/trac10/ticket/4335#comment:2 <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">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/62811" title="Add BOOST_IOSTREAMS_DECL to file_descriptor_source and ...">[62811]</a>) Add BOOST_IOSTREAMS_DECL to file_descriptor_source and file_descriptor_sink. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/4335" title="#4335: Bugs: Unresolved external symbols for MSVC with link=shared (closed: fixed)">#4335</a>. </p> Ticket