Subject: [Boost-bugs] [Boost C++ Libraries] #4669: Lots of warnings from is_unsigned.hpp
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-09-21 20:10:00
#4669: Lots of warnings from is_unsigned.hpp
-----------------------------------------------+----------------------------
Reporter: Per Ola Ingvarsson <pi@â¦> | Owner: johnmaddock
Type: Bugs | Status: new
Milestone: To Be Determined | Component: type_traits
Version: Boost 1.43.0 | Severity: Problem
Keywords: |
-----------------------------------------------+----------------------------
When compiling programs that in some way use is_unsigned_imp, warnings
from boost obscure the warnings that I'm interested in (i.e. the ones that
I have caused myself). The same problem exists with is_signed_imp.
'''Environment Info:'''[[BR]]
FreeBSD 8.1 sparc64 [[BR]]
gcc version 4.2.1 20070719 [FreeBSD][[BR]]
'''Minimal test program''':[[BR]]
#include<boost/type_traits/is_unsigned.hpp>
int isUnsigned()
{
return boost::detail::is_unsigned_imp<unsigned int>::value;
}
'''Result''':
g++ -I/usr/local/include testa.c -c
/usr/local/include/boost/type_traits/is_unsigned.hpp: In instantiation of
'boost::detail::is_ununsigned_helper<unsigned int>':
/usr/local/include/boost/type_traits/is_unsigned.hpp:73: instantiated
from 'boost::detail::is_unsigned_imp<unsigned int>'
testa.c:5: instantiated from here
/usr/local/include/boost/type_traits/is_unsigned.hpp:40: warning:
comparison between 'enum boost::detail::is_unsigned_values<unsigned
int>::<anonymous>' and 'enum boost::detail::is_unsigned_values<unsigned
int>::<anonymous>'
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/4669> 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