[Boost-bugs] [Boost C++ Libraries] #7644: [-Wswitch] warnings with gcc 4.7.2 with C++11 enabled.

Subject: [Boost-bugs] [Boost C++ Libraries] #7644: [-Wswitch] warnings with gcc 4.7.2 with C++11 enabled.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-11-06 00:27:39


#7644: [-Wswitch] warnings with gcc 4.7.2 with C++11 enabled.
----------------------------------+-----------------------------------------
 Reporter: steven.lemay@… | Owner: johnmaddock
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: regex
  Version: Boost 1.52.0 | Severity: Problem
 Keywords: -Wswitch |
----------------------------------+-----------------------------------------
 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]

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