Boost C++ Libraries: Ticket #3902: regex library issues warning in gcc 4.3 https://svn.boost.org/trac10/ticket/3902 <p> 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 </p> <p> gcc output: <em>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&lt;charT, traits&gt;::parse_perl_extension() [with charT = char, traits = boost::regex_traits&lt;char, boost::cpp_regex_traits&lt;char&gt; &gt;]': </em>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&lt;charT, traits&gt;::parse_open_paren() [with charT = char, traits = boost::regex_traits&lt;char, boost::cpp_regex_traits&lt;char&gt; &gt;]' <em>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&lt;charT, traits&gt;::parse_extended() [with charT = char, traits = boost::regex_traits&lt;char, boost::cpp_regex_traits&lt;char&gt; &gt;]' </em>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&lt;charT, traits&gt;::parse(const charT*, const charT*, unsigned int) [with charT = char, traits = boost::regex_traits&lt;char, boost::cpp_regex_traits&lt;char&gt; &gt;]' <em>mathworks/hub/3rdparty/R2010b/156618/glnx86/boost/include/boost/regex/v4/basic_regex.hpp:256: instantiated from 'void boost::re_detail::basic_regex_implementation&lt;charT, traits&gt;::assign(const charT*, const charT*, boost::regex_constants::syntax_option_type) [with charT = char, traits = boost::regex_traits&lt;char, boost::cpp_regex_traits&lt;char&gt; &gt;]' </em>mathworks/hub/3rdparty/R2010b/156618/glnx86/boost/include/boost/regex/v4/basic_regex.hpp:702: instantiated from 'boost::basic_regex&lt;charT, traits&gt;&amp; boost::basic_regex&lt;charT, traits&gt;::do_assign(const charT*, const charT*, boost::regex_constants::syntax_option_type) [with charT = char, traits = boost::regex_traits&lt;char, boost::cpp_regex_traits&lt;char&gt; &gt;]' <em>mathworks/hub/3rdparty/R2010b/156618/glnx86/boost/include/boost/regex/v4/basic_regex.hpp:423: instantiated from 'boost::basic_regex&lt;charT, traits&gt;&amp; boost::basic_regex&lt;charT, traits&gt;::assign(const charT*, const charT*, boost::regex_constants::syntax_option_type) [with charT = char, traits = boost::regex_traits&lt;char, boost::cpp_regex_traits&lt;char&gt; &gt;]' </em>mathworks/hub/3rdparty/R2010b/156618/glnx86/boost/include/boost/regex/v4/basic_regex.hpp:408: instantiated from 'boost::basic_regex&lt;charT, traits&gt;&amp; boost::basic_regex&lt;charT, traits&gt;::assign(const charT*, boost::regex_constants::syntax_option_type) [with charT = char, traits = boost::regex_traits&lt;char, boost::cpp_regex_traits&lt;char&gt; &gt;]' <em>mathworks/hub/3rdparty/R2010b/156618/glnx86/boost/include/boost/regex/v4/basic_regex.hpp:377: instantiated from 'boost::basic_regex&lt;charT, traits&gt;::basic_regex(const charT*, boost::regex_constants::syntax_option_type) [with charT = char, traits = boost::regex_traits&lt;char, boost::cpp_regex_traits&lt;char&gt; &gt;]' msg/MessageDatum.cpp:271: instantiated from here </p> <table class="wiki"> <tr></em>mathworks/hub/3rdparty/R2010b/156618/glnx86/boost/include/boost/regex/v4/basic_regex_parser.hpp:2011: warning: suggest parentheses around &amp;&amp; within </tr></table> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3902 Trac 1.4.3 John Maddock Fri, 05 Feb 2010 17:11:39 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/3902#comment:1 https://svn.boost.org/trac10/ticket/3902#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">worksforme</span> </li> </ul> <p> I believe this to be already fixed in Boost-1.42. </p> Ticket