[Boost-bugs] [Boost C++ Libraries] #3902: regex library issues warning in gcc 4.3

Subject: [Boost-bugs] [Boost C++ Libraries] #3902: regex library issues warning in gcc 4.3
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-02-04 18:52:01


#3902: regex library issues warning in gcc 4.3
--------------------------+-------------------------------------------------
 Reporter: anonymous | Owner: johnmaddock
     Type: Bugs | Status: new
Milestone: Boost 1.43.0 | Component: regex
  Version: Boost 1.40.0 | Severity: Problem
 Keywords: |
--------------------------+-------------------------------------------------
 Built with the following warning flags:
 -W -Wcast-align -Wall -Wshadow -Wwrite-strings -Wpointer-arith -Wcast-qual
 -Wno-unused -Woverloaded-virtual -Wnon-virtual-dtor -Wno-ignored-
 qualifiers

 gcc output:
 //mathworks/hub/3rdparty/R2010b/156618/glnx86/boost/include/boost/regex/v4/basic_regex_parser.hpp:
 In member function 'bool boost::re_detail::basic_regex_parser<charT,
 traits>::parse_perl_extension() [with charT = char, traits =
 boost::regex_traits<char, boost::cpp_regex_traits<char> >]':
 //mathworks/hub/3rdparty/R2010b/156618/glnx86/boost/include/boost/regex/v4/basic_regex_parser.hpp:379:
 instantiated from 'bool boost::re_detail::basic_regex_parser<charT,
 traits>::parse_open_paren() [with charT = char, traits =
 boost::regex_traits<char, boost::cpp_regex_traits<char> >]'
 //mathworks/hub/3rdparty/R2010b/156618/glnx86/boost/include/boost/regex/v4/basic_regex_parser.hpp:265:
 instantiated from 'bool boost::re_detail::basic_regex_parser<charT,
 traits>::parse_extended() [with charT = char, traits =
 boost::regex_traits<char, boost::cpp_regex_traits<char> >]'
 //mathworks/hub/3rdparty/R2010b/156618/glnx86/boost/include/boost/regex/v4/basic_regex_parser.hpp:129:
 instantiated from 'void boost::re_detail::basic_regex_parser<charT,
 traits>::parse(const charT*, const charT*, unsigned int) [with charT =
 char, traits = boost::regex_traits<char, boost::cpp_regex_traits<char> >]'
 //mathworks/hub/3rdparty/R2010b/156618/glnx86/boost/include/boost/regex/v4/basic_regex.hpp:256:
 instantiated from 'void
 boost::re_detail::basic_regex_implementation<charT, traits>::assign(const
 charT*, const charT*, boost::regex_constants::syntax_option_type) [with
 charT = char, traits = boost::regex_traits<char,
 boost::cpp_regex_traits<char> >]'
 //mathworks/hub/3rdparty/R2010b/156618/glnx86/boost/include/boost/regex/v4/basic_regex.hpp:702:
 instantiated from 'boost::basic_regex<charT, traits>&
 boost::basic_regex<charT, traits>::do_assign(const charT*, const charT*,
 boost::regex_constants::syntax_option_type) [with charT = char, traits =
 boost::regex_traits<char, boost::cpp_regex_traits<char> >]'
 //mathworks/hub/3rdparty/R2010b/156618/glnx86/boost/include/boost/regex/v4/basic_regex.hpp:423:
 instantiated from 'boost::basic_regex<charT, traits>&
 boost::basic_regex<charT, traits>::assign(const charT*, const charT*,
 boost::regex_constants::syntax_option_type) [with charT = char, traits =
 boost::regex_traits<char, boost::cpp_regex_traits<char> >]'
 //mathworks/hub/3rdparty/R2010b/156618/glnx86/boost/include/boost/regex/v4/basic_regex.hpp:408:
 instantiated from 'boost::basic_regex<charT, traits>&
 boost::basic_regex<charT, traits>::assign(const charT*,
 boost::regex_constants::syntax_option_type) [with charT = char, traits =
 boost::regex_traits<char, boost::cpp_regex_traits<char> >]'
 //mathworks/hub/3rdparty/R2010b/156618/glnx86/boost/include/boost/regex/v4/basic_regex.hpp:377:
 instantiated from 'boost::basic_regex<charT, traits>::basic_regex(const
 charT*, boost::regex_constants::syntax_option_type) [with charT = char,
 traits = boost::regex_traits<char, boost::cpp_regex_traits<char> >]'
 msg/MessageDatum.cpp:271: instantiated from here
 //mathworks/hub/3rdparty/R2010b/156618/glnx86/boost/include/boost/regex/v4/basic_regex_parser.hpp:2011:
 warning: suggest parentheses around && within ||

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