Actually, this problem only appears when BOOST_SIGNALS_DECL is defined as
__declspec(dllexport). I am not sure if this issue is only limited to
Microsoft and Intel compiler since some other compilers on Windows support
__declspec too. This is just a guess since I do not have access to these
other compiler.
Sean
"Stefan Slapeta"
Douglas Gregor wrote:
It appears that the Intel compiler is emulating VC++ 7.1's bugs a bit too well. If you remove the #if BOOST_WORKAROUND from named_slot_map.hpp and named_slot_map.cpp (so that "decrement" and "advance" get defined), it should work.
Maybe it would have been better to replace
#if BOOST_WORKAROUND(BOOST_MSVC, ...
by
#if BOOST_WORKAROUND(_MSC_VER, ...
which is equally defined for Intel and VC.
Stefan