|
Boost-Commit : |
From: rwgk_at_[hidden]
Date: 2008-04-04 14:57:27
Author: rwgk
Date: 2008-04-04 14:57:27 EDT (Fri, 04 Apr 2008)
New Revision: 44041
URL: http://svn.boost.org/trac/boost/changeset/44041
Log:
bogus VC8 warning C4180 disabled
Text files modified:
trunk/boost/python/iterator.hpp | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
Modified: trunk/boost/python/iterator.hpp
==============================================================================
--- trunk/boost/python/iterator.hpp (original)
+++ trunk/boost/python/iterator.hpp 2008-04-04 14:57:27 EDT (Fri, 04 Apr 2008)
@@ -14,6 +14,16 @@
# include <boost/type_traits/cv_traits.hpp>
# include <boost/type_traits/transform_traits.hpp>
+# if defined(BOOST_MSVC) && (BOOST_MSVC == 1400) /*
+> warning C4180: qualifier applied to function type has no meaning; ignored
+Peter Dimov wrote:
+This warning is caused by an overload resolution bug in VC8 that cannot be
+worked around and will probably not be fixed by MS in the VC8 line. The
+problematic overload is only instantiated and never called, and the code
+works correctly. */
+# pragma warning(disable: 4180)
+# endif
+
# include <boost/bind.hpp>
# include <boost/bind/protect.hpp>
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk