Boost C++ Libraries: Ticket #1152: rle_example fails https://svn.boost.org/trac10/ticket/1152 <p> The string_algo's rle_example fails to compile for me on Linux, gcc 4.1.2: </p> <pre class="wiki">../../../../boost/algorithm/string/detail/find_format_all.hpp: In function ‘InputT boost::algorithm::detail::find_format_all_copy_impl(const InputT&amp;, FinderT, FormatterT, const FindResultT&amp;) [with InputT = std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt;, FinderT = find_compressF, FormatterT = format_compressF&lt;std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt; &gt;, FindResultT = boost::iterator_range&lt;__gnu_cxx::__normal_iterator&lt;const char*, std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt; &gt; &gt;]’: ../../../../boost/algorithm/string/find_format.hpp:218: instantiated from ‘SequenceT boost::algorithm::find_format_all_copy(const SequenceT&amp;, FinderT, FormatterT) [with SequenceT = std::string, FinderT = find_compressF, FormatterT = format_compressF&lt;std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt; &gt;]’ rle_example.cpp:210: instantiated from here ../../../../boost/algorithm/string/detail/find_format_all.hpp:115: error: no matching function for call to ‘find_format_all_copy_impl2(const std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt;&amp;, find_compressF&amp;, format_compressF&lt;std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt; &gt;&amp;, const boost::iterator_range&lt;__gnu_cxx::__normal_iterator&lt;const char*, std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt; &gt; &gt;&amp;, std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt;)’ ../../../../boost/algorithm/string/detail/find_format_all.hpp: In function ‘InputT boost::algorithm::detail::find_format_all_copy_impl(const InputT&amp;, FinderT, FormatterT, const FindResultT&amp;) [with InputT = std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt;, FinderT = find_decompressF, FormatterT = format_decompressF&lt;std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt; &gt;, FindResultT = boost::iterator_range&lt;__gnu_cxx::__normal_iterator&lt;const char*, std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt; &gt; &gt;]’: ../../../../boost/algorithm/string/find_format.hpp:218: instantiated from ‘SequenceT boost::algorithm::find_format_all_copy(const SequenceT&amp;, FinderT, FormatterT) [with SequenceT = std::string, FinderT = find_decompressF, FormatterT = format_decompressF&lt;std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt; &gt;]’ rle_example.cpp:218: instantiated from here ../../../../boost/algorithm/string/detail/find_format_all.hpp:115: error: no matching function for call to ‘find_format_all_copy_impl2(const std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt;&amp;, find_decompressF&amp;, format_decompressF&lt;std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt; &gt;&amp;, const boost::iterator_range&lt;__gnu_cxx::__normal_iterator&lt;const char*, std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt; &gt; &gt;&amp;, std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt;)’ </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/1152 Trac 1.4.3 Steven Watanabe Tue, 26 May 2009 02:23:13 GMT attachment set https://svn.boost.org/trac10/ticket/1152 https://svn.boost.org/trac10/ticket/1152 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">find_format.patch</span> </li> </ul> <p> patch and test case </p> Ticket anonymous Fri, 26 Mar 2010 19:56:11 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/1152#comment:1 https://svn.boost.org/trac10/ticket/1152#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">fixed</span> </li> </ul> <p> It compiles now. It appears to have been fixed in <a class="changeset" href="https://svn.boost.org/trac10/changeset/55434" title="GCC compilation errors caused be the recent update fixed ">[55434]</a>. Merged to release in <a class="changeset" href="https://svn.boost.org/trac10/changeset/56176" title="Merged changes from trunk ">[56176]</a>. </p> Ticket