boost signals dll does not export all functions

Dear all,
Probably already a known problem, but if one uses the signals library as a dll, the dll does not contain all exports (e.g. signal_base_impl::~signal_base_impl()). Tracking this down it looks like that the file 'signal_base.cpp' does not see that it has to create exported functions. This is due to the fact that 'BOOST_HAS_DECLSPEC' is not defined, which is defined a compiler specific header file ('visualc.hpp').
However another cpp file from signals, 'connection.cpp', does create exported function.
Thus as a work around I added '#include

Gast 128 wrote:
Dear all,
Probably already a known problem, but if one uses the signals library as a dll, the dll does not contain all exports (e.g. signal_base_impl::~signal_base_impl()). Tracking this down it looks like that the file 'signal_base.cpp' does not see that it has to create exported functions. This is due to the fact that 'BOOST_HAS_DECLSPEC' is not defined, which is defined a compiler specific header file ('visualc.hpp').
I believe a patch for this problem has been in the CVS repository for some time. Cheers, Nicola Musatti
participants (2)
-
Gast 128
-
Nicola Musatti