Opened 13 years ago

Closed 13 years ago

#3902 closed Bugs (worksforme)

regex library issues warning in gcc 4.3

Reported by: anonymous Owned by: John Maddock
Milestone: Boost 1.43.0 Component: regex
Version: Boost 1.40.0 Severity: Problem
Keywords: Cc:

Description

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

Change History (1)

comment:1 by John Maddock, 13 years ago

Resolution: worksforme
Status: newclosed

I believe this to be already fixed in Boost-1.42.

Note: See TracTickets for help on using tickets.