Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r62811 - in trunk: boost/iostreams/device libs/iostreams/test
From: steven_at_[hidden]
Date: 2010-06-11 14:55:31


Author: steven_watanabe
Date: 2010-06-11 14:55:31 EDT (Fri, 11 Jun 2010)
New Revision: 62811
URL: http://svn.boost.org/trac/boost/changeset/62811

Log:
Add BOOST_IOSTREAMS_DECL to file_descriptor_source and file_descriptor_sink. Fixes #4335.
Text files modified:
   trunk/boost/iostreams/device/file_descriptor.hpp | 4 ++--
   trunk/libs/iostreams/test/Jamfile.v2 | 6 +++---
   2 files changed, 5 insertions(+), 5 deletions(-)

Modified: trunk/boost/iostreams/device/file_descriptor.hpp
==============================================================================
--- trunk/boost/iostreams/device/file_descriptor.hpp (original)
+++ trunk/boost/iostreams/device/file_descriptor.hpp 2010-06-11 14:55:31 EDT (Fri, 11 Jun 2010)
@@ -121,7 +121,7 @@
     shared_ptr<impl_type> pimpl_;
 };
 
-class file_descriptor_source : private file_descriptor {
+class BOOST_IOSTREAMS_DECL file_descriptor_source : private file_descriptor {
 public:
 #ifdef BOOST_IOSTREAMS_WINDOWS
     typedef void* handle_type; // A.k.a HANDLE
@@ -187,7 +187,7 @@
     void open(const detail::path& path, BOOST_IOS::openmode);
 };
 
-class file_descriptor_sink : private file_descriptor {
+class BOOST_IOSTREAMS_DECL file_descriptor_sink : private file_descriptor {
 public:
 #ifdef BOOST_IOSTREAMS_WINDOWS
     typedef void* handle_type; // A.k.a HANDLE

Modified: trunk/libs/iostreams/test/Jamfile.v2
==============================================================================
--- trunk/libs/iostreams/test/Jamfile.v2 (original)
+++ trunk/libs/iostreams/test/Jamfile.v2 2010-06-11 14:55:31 EDT (Fri, 11 Jun 2010)
@@ -39,7 +39,7 @@
           [ test-iostreams close_test.cpp ]
           [ test-iostreams
                 code_converter_test.cpp
- detail/utf8_codecvt_facet.cpp : <link>static ]
+ detail/utf8_codecvt_facet.cpp ]
           [ test-iostreams combine_test.cpp ]
           [ test-iostreams compose_test.cpp ]
           [ test-iostreams component_access_test.cpp ]
@@ -50,7 +50,7 @@
           [ test-iostreams execute_test.cpp ]
           [ test-iostreams file_test.cpp ]
           [ test-iostreams file_descriptor_test.cpp
- ../src/file_descriptor.cpp : <link>static ]
+ ../build//boost_iostreams ]
           [ test-iostreams filtering_stream_test.cpp ]
           [ test-iostreams finite_state_filter_test.cpp ]
           [ test-iostreams flush_test.cpp ]
@@ -60,7 +60,7 @@
           [ test-iostreams invert_test.cpp ]
           [ test-iostreams line_filter_test.cpp ]
           [ test-iostreams mapped_file_test.cpp
- ../src/mapped_file.cpp : <link>static ]
+ ../build//boost_iostreams ]
           [ test-iostreams newline_test.cpp ]
           [ test-iostreams null_test.cpp ]
           [ test-iostreams operation_sequence_test.cpp ]


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk