boostorg / container

STL-like containers from Boost
http://www.boost.org/libs/container/
Boost Software License 1.0
96 stars 116 forks source link

Including headers adds exports #185

Closed pdimov closed 3 years ago

pdimov commented 3 years ago

When I #include <boost/json.hpp on Windows, I get an import library created for my executable, with a bunch of Container exports there. I don't think this should happen. If these symbols are indeed in a library, they need to be marked as imported, not exported; and if they are not supposed to be in a library, they should be marked as visible, not as exported.

igaztanaga commented 3 years ago

Thanks for the report, you are righ, they should be marked as BOOST_SYMBOL_VISIBLE.