17 Feb
2009
17 Feb
'09
1:14 p.m.
Igor R:
Hello,
Could you please explain what causes the following warning and how to avoid it (boost 1.36, MSVC9.0SP1):
...
1>../boost\boost/bind.hpp(1643) : warning C4180: qualifier applied to function type has no meaning; ignored 1> ../boost\boost/bind.hpp(1677) : see reference to class template instantiation 'boost::_bi::add_cref
' being compiled 1> with 1> [ 1> Pm=boost::shared_ptr<Task> (__thiscall boost::weak_ptr<Task>::* )(void), 1> I=1 1> ]
A compiler bug (Pm should match the specialization below the one chosen). The warning is harmless in this specific case and can be ignored.