id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 13052,iostreams visibility=hidden for non-Windows platforms,Mark M ,Jonathan Turkanis,"For the Mac, I am compiling the Boost libraries and my code using visibility=hidden. My code cannot find ""boost::iostreams::zlib::default_compression"". This is defined in iostreams/filter/zlib.hpp as Code: ''BOOST_IOSTREAMS_DECL extern const int default_compression;'' The only place that BOOST_IOSTREAMS_DECL is defined is iostreams/detail/config/dyn_link.hpp. That file sets the macro to either Windows-specific settings (''declspec(dllexport)''), or leaves it blank. So the Boost iostreams library will have the wrong visibility settings. This is unlike other places in the Boost code, where the right visibility settings are obtained by defining the library DECL macro as BOOST_SYMBOL_EXPORT. (Take a look at filesystem/config.hpp as an example of how it is done for most of the other libraries.) ",Bugs,new,To Be Determined,iostreams,Boost 1.64.0,Problem,,,