[Boost-bugs] [Boost C++ Libraries] #4297: [PATCH] Fix for warning: enumeral and non-enumeral type in conditional expression

Subject: [Boost-bugs] [Boost C++ Libraries] #4297: [PATCH] Fix for warning: enumeral and non-enumeral type in conditional expression
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-06-04 19:00:20


#4297: [PATCH] Fix for warning: enumeral and non-enumeral type in conditional
expression
-------------------------------------------+--------------------------------
 Reporter: Lénaïc Huard <lhuard@…> | Owner: igaztanaga
     Type: Patches | Status: new
Milestone: Boost 1.44.0 | Component: interprocess
  Version: Boost Development Trunk | Severity: Cosmetic
 Keywords: |
-------------------------------------------+--------------------------------
 Hello,

 When compiling some programs using boost.interprocess with gcc, we get a
 bunch of warning messages like:

 include/boost/interprocess/mem_algo/rbtree_best_fit.hpp:323: warning:
 enumeral and non-enumeral type in conditional expression

 The attached patch aims at fixing those warnings.

 BRgds,
 Lénaïc.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4297>
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