Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3485: Boost 1.40 Example.cpp program produces pages of MSVC level 1 warning 4180
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-11-04 11:26:34
#3485: Boost 1.40 Example.cpp program produces pages of MSVC level 1 warning 4180
-----------------------------------+----------------------------------------
Reporter: pbristow | Owner: dave
Type: Bugs | Status: reopened
Milestone: Boost 1.42.0 | Component: Getting Started Guide
Version: Boost Release Branch | Severity: Cosmetic
Resolution: | Keywords: warning lambda
-----------------------------------+----------------------------------------
Changes (by pbristow):
* status: closed => reopened
* version: Boost 1.40.0 => Boost Release Branch
* resolution: invalid =>
* milestone: Boost 1.41.0 => Boost 1.42.0
Comment:
I've noticed in passing that at 1_41_1_beta that example.cpp is still
producing two pages of warnings for this example.
I think that in lambda_functors.hpp, it needs adding a
#pragma warning(disable:4180) // qualifier applied to function type has no
meaning;
thus:
#if BOOST_WORKAROUND(BOOST_MSVC, >= 1400)
#pragma warning(push)
#pragma warning(disable:4512) //assignment operator could not be generated
#pragma warning(disable:4180) // qualifier applied to function type has no
meaning; ignored
#endif
Sorry for my continued muddle :-(
(Note: Version box does not yet include 1.41)
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/3485#comment:3> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:01 UTC