Ticket #4335 (closed Bugs: fixed)

Opened 7 years ago

Last modified 7 years ago

Unresolved external symbols for MSVC with link=shared

Reported by: matt.chambers42@… Owned by: turkanis
Milestone: Boost 1.44.0 Component: iostreams
Version: Boost Development Trunk Severity: Showstopper
Keywords: Cc:


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.


Change History

comment:1 Changed 7 years ago by matt.chambers42@…

The classes in question are in: boost/iostreams/device/file_descriptor.hpp

-class file_descriptor_source : private file_descriptor { +class BOOST_IOSTREAMS_DECL file_descriptor_source : private file_descriptor {

-class file_descriptor_sink : private file_descriptor { +class BOOST_IOSTREAMS_DECL file_descriptor_sink : private file_descriptor {

comment:2 Changed 7 years ago by steven_watanabe

  • Status changed from new to closed
  • Resolution set to fixed

(In [62811]) Add BOOST_IOSTREAMS_DECL to file_descriptor_source and file_descriptor_sink. Fixes #4335.


Add a comment

Modify Ticket

Change Properties
<Author field>
as closed
The resolution will be deleted. Next status will be 'reopened'

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.