From: Boost [boost-bounces@lists.boost.org] on behalf of Mathias Gaunard [mathias.gaunard@ens-lyon.org] Sent: 21 January 2014 16:44 To: boost@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
On 01/22/2014 02:56 PM, Fletcher, John P wrote:
I have looked at the code for no 9111 and it looks like this:
template
bool operator==(function_ptr 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
or ....
template
From: Boost [boost-bounces@lists.boost.org] on behalf of Michael Caisse [mcaisse-lists@ciere.com] Sent: 22 January 2014 23:07 To: boost@lists.boost.org Subject: Re: [boost] [phoenix] bug 9111 On 01/22/2014 02:56 PM, Fletcher, John P wrote:
I need to look into why that is the case, or else do some dummy operation on rhs which will suppress the warning.
or ....
template
bool operator==(function_ptr const & /*rhs*/) const { return false; }
-- Michael Caisse ciere consulting ciere.com
Thank you I will try that. John _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
participants (2)
-
Fletcher, John P
-
Michael Caisse