Subject: [Boost-bugs] [Boost C++ Libraries] #4364: boost/mpl warning cleanup
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-06-21 19:02:31
#4364: boost/mpl warning cleanup
-------------------------------------+--------------------------------------
Reporter: tatu.kilappa@⦠| Owner: agurtovoy
Type: Patches | Status: new
Milestone: Boost 1.44.0 | Component: mpl
Version: Boost Development Trunk | Severity: Cosmetic
Keywords: warning |
-------------------------------------+--------------------------------------
Some definitions in boost/mpl/has_xxx.hpp are defined to 1 on conditions,
but never defined to 0. This causes warnings when they're later checked as
truth values instead of defined().
Attached patch defines them as 0 if the workaround does not match. Another
approach would be to use #if defined() later, this is probably better.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/4364> 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:03 UTC