<div class="gmail_quote">On Mon, Jun 15, 2009 at 2:06 PM, Steven Watanabe <span dir="ltr"><<a href="mailto:watanabesj@gmail.com">watanabesj@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> AMDG<div><div></div><div class="h5"><br> <br> Robert Jones wrote:<br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> I'm finding that pretty much every lambda :: bind call I make is producing a<br> c4180 warning<br> under Microsoft which I think is warning about the application a meaningless<br> qualifier to the<br> first argument of the bind call.<br> <br> So given, say<br> <br> bool f( int );<br> <br> lambda::bind( f, lambd::_1 );<br> <br> inside lambda_traits a const qualifier is applied to f, which is already<br> const, hence the warning.<br> <br> Anyone know how to avoid this, other than #pragma to disable the warning?<br> �<br> </blockquote> <br></div></div> Boost version? �Compiler version?<br> It compiles cleanly for me with the trunk<br> and vc9, warning level 4.<br> <br> In Christ,<br> Steven Watanabe<br> <br> </blockquote></div><br>Boost 1.33.1, VC++ 2005 - I'd forgotten I'm using such an old version of Boost, as<br>I'm working on an older version of our product at the moment!<br><br>Thanks, Rob.<br>