Boost logo

Boost Users :

Subject: [Boost-users] Worth reporting warnings for 1.52?
From: Lemay.Steve (Steve.Lemay_at_[hidden])
Date: 2012-11-05 18:48:26


I know the documentation says to expect warnings during compilation. So, are these boost 1.52 warnings worth reporting? Or are they typically tolerated? (gnu 4.7.2 C++11 enabled)

                Line 27367: ./boost/regex/v4/cpp_regex_traits.hpp:1069:34: warning: narrowing conversion of '2147483648u' from 'unsigned int' to 'int' inside { } [-Wnarrowing]
                Line 27372: libs\regex\build\..\src\regex.cpp:195:64: warning: narrowing conversion of '2147483648u' from 'unsigned int' to 'int' inside { } [-Wnarrowing]
                Line 27403: ./boost/regex/pending/object_cache.hpp:64:37: warning: narrowing conversion of '2147483648u' from 'unsigned int' to 'int' inside { } [-Wnarrowing]
                Line 27429: ./boost/regex/v4/regex_traits_defaults.hpp:329:73: warning: narrowing conversion of ''\37777777605'' from 'char' to 'const wchar_t' inside { } [-Wnarrowing]
                Line 27430: ./boost/regex/v4/regex_traits_defaults.hpp:331:64: warning: narrowing conversion of ''\37777777605'' from 'char' to 'const wchar_t' inside { } [-Wnarrowing]
                Line 27751: libs\thread\src\pthread\once.cpp:18:60: warning: narrowing conversion of '2147483648u' from 'unsigned int' to 'int' inside { } [-Wnarrowing]
                Line 27752: libs\thread\src\pthread\once.cpp:24:47: warning: narrowing conversion of '2147483648u' from 'unsigned int' to 'int' inside { } [-Wnarrowing]

                In file included from ./boost/regex/v4/regex_traits.hpp:39:0,
                 from ./boost/regex/regex_traits.hpp:27,
                 from ./boost/regex/v4/regex.hpp:39,
                 from ./boost/regex.hpp:31,
                 from libs\regex\build\..\src\winstances.cpp:30:
./boost/regex/v4/cpp_regex_traits.hpp: In instantiation of 'boost::re_detail::parser_buf<charT, traits>::pos_type boost::re_detail::parser_buf<charT, traits>::seekoff(boost::re_detail::parser_buf<charT, traits>::off_type, std::_Iosb<int>::seekdir, std::_Iosb<int>::openmode) [with charT = wchar_t; traits = std::char_traits<wchar_t>; boost::re_detail::parser_buf<charT, traits>::pos_type = std::fpos<_Mbstatet>; boost::re_detail::parser_buf<charT, traits>::off_type = long int; std::_Iosb<int>::seekdir = std::_Iosb<int>::_Seekdir; std::_Iosb<int>::openmode = std::_Iosb<int>::_Openmode]':
./boost/regex/v4/regex_split.hpp:168:1: required from here
./boost/regex/v4/cpp_regex_traits.hpp:117:4: warning: case value '0' not in enumerated type 'std::_Iosb<int>::seekdir {aka std::_Iosb<int>::_Seekdir}' [-Wswitch]
./boost/regex/v4/cpp_regex_traits.hpp:129:4: warning: case value '1' not in enumerated type 'std::_Iosb<int>::seekdir {aka std::_Iosb<int>::_Seekdir}' [-Wswitch]
./boost/regex/v4/cpp_regex_traits.hpp:123:4: warning: case value '2' not in enumerated type 'std::_Iosb<int>::seekdir {aka std::_Iosb<int>::_Seekdir}' [-Wswitch]

Steven LeMay
Game Platform Engineering

International Game Technology
9295 Prototype Way
Reno, NV 89521
Office: +1 775.448.8089
Mobile: +1 775.813.6676
steven.lemay_at_[hidden]<mailto:steven.lemay_at_[hidden]>

This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. Any humorous implications are purely the result of misinterpretations provided by the reader.



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net