|
Boost Users : |
Subject: Re: [Boost-users] [boost-users][bind]
From: Peter Dimov (pdimov_at_[hidden])
Date: 2009-02-17 08:14:46
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<Pm,I>' 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.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net