From: Boost [boost-bounces(a)lists.boost.org] on behalf of Mathias Gaunard [mathias.gaunard(a)ens-lyon.org]
Sent: 21 January 2014 16:44
To: boost(a)lists.boost.org
Subject: (was Re: [boost] [phoenix] New maintainer
> I filed bugs about warnings a while ago. (9111, 9113)
> It shouldn't take much work to fix those and it would be great if I
> could finally make my code compile without warnings.
I have looked at the code for no 9111 and it looks like this:
template <int M, typename RhsRT, typename RhsFP>
bool operator==(function_ptr<M, RhsRT, RhsFP> const & rhs) const
{
return false;
}
For some reason that specialized case is always returning false, which is why rhs is unused.
I need to look into why that is the case, or else do some dummy operation on rhs which will suppress the warning.
John