Modify

Ticket #4335 (closed Bugs: fixed)

Opened 4 years ago

Last modified 4 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:

Description

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.

Attachments

Change History

comment:1 Changed 4 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 4 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.

View

Add a comment

Modify Ticket

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


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

 
Note: See TracTickets for help on using tickets.