Subject: [Boost-bugs] [Boost C++ Libraries] #4904: Comparison between signed and unsigned integer expressions
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-11-29 10:17:11
#4904: Comparison between signed and unsigned integer expressions
----------------------------------------+-----------------------------------
Reporter: sagimihaly+boost@⦠| Owner: agurtovoy
Type: Bugs | Status: new
Milestone: To Be Determined | Component: mpl
Version: Boost 1.45.0 | Severity: Cosmetic
Keywords: |
----------------------------------------+-----------------------------------
Compiling with g++ 4.4, I get the following warning:
/boost/mpl/print.hpp:55: warning: comparison between signed and unsigned
integer expressions
the expression is
sizeof(T) > -1
Is there a specific reason for not using
sizeof(T) >= 0
instead?
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/4904> 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:04 UTC