Boost logo

Boost Users :

Subject: Re: [Boost-users] [lambda] Massive Windows warnings with containers of smart pointers
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-04-09 12:17:36


AMDG

Allen Cronce wrote:
> I'm seeing massive C4181 warnings using boost lambda on containers of
> smart pointers under Windows VS2005 with Boost 1.36. The warnings do
> not happen under GCC, with all warning options at maximum.
>
> I can see from the archives that Noah Roberts posted this issue, as
> well as other lambda related problems, to the list back in 2006. I
> can't find an answer to the warning issue.
>
> Our development team has a policy of zero-warning tolerance. While
> it's clear that the code is working on all platforms, the warnings are
> troublesome. I'm hoping that there is a work around other than just
> suppressing the 4181 warnings.
>
> Sample code and the resulting warning follows below. Thank you in
> advance for any suggestions.

This has been fixed in the trunk an release branch.
https://svn.boost.org/trac/boost/changeset/51448

In Christ,
Steven Watanabe


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