Modify

Ticket #3902 (closed Bugs: worksforme)

Opened 4 years ago

Last modified 4 years ago

regex library issues warning in gcc 4.3

Reported by: anonymous Owned by: johnmaddock
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

Attachments

Change History

comment:1 Changed 4 years ago by johnmaddock

  • Status changed from new to closed
  • Resolution set to worksforme

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

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.