
9 Jul
2008
9 Jul
'08
6:48 a.m.
Alexander Arhipenko wrote:
Boost libraries that are built as shared libraries (e.g., filesystem, datetime) explicitly specify symbols that have to be exported, but only when BOOST_HAS_DECLSPEC ... As we know, gcc allows not to export any symbol from shared library (if compiler flag -fvisibility=hidden is used) except ones declared with __attribute__((visibility("default"))), e.g.: .... Finally, here's the question. What do you think about having something like BOOST_DSO_EXPORT/*IMPORT in boost?
It would be nice. Care of work on a patch? - Volodya