Boost C++ Libraries: Ticket #5788: xpressive can not be compiled under sun CC compiler https://svn.boost.org/trac10/ticket/5788 <p> CC -I~/3rdTools -L~/lib -L~/3rdTools/lib/gcc_sun -o test_boost test_boost.cpp "~/3rdTools/boost/xpressive/detail/utility/boyer_moore.hpp", line 62: Error: Could not find a match for std::distance&lt;std::<a class="missing wiki">ForwardIter</a>\ ator, std::Distance&gt;(const char*, const char*) needed in boost::xpressive::detail::boyer_moore&lt;const char*, boost::xpressive::regex_traits&lt;char, boost::xpressive::cpp_regex_trait\ s&lt;char&gt;&gt;&gt;::boyer_moore(const char*, const char*, const boost::xpressive::regex_traits&lt;char, boost::xpressive::cpp_regex_traits&lt;char&gt;&gt;&amp;, bool). "~/3rdTools/boost/xpressive/detail/core/finder.hpp", line 35: Where: While instantiating "boost::xpressive::detail::boyer_moore&lt;co\ nst char*, boost::xpressive::regex_traits&lt;char, boost::xpressive::cpp_regex_traits&lt;char&gt;&gt;&gt;::boyer_moore(const char*, const char*, const boost::xpressive::regex_traits&lt;char, boost\ ::xpressive::cpp_regex_traits&lt;char&gt;&gt;&amp;, bool)". "~/3rdTools/boost/xpressive/detail/core/finder.hpp", line 35: Where: Instantiated from boost::xpressive::detail::boyer_moore_finde\ r&lt;const char*, boost::xpressive::regex_traits&lt;char, boost::xpressive::cpp_regex_traits&lt;char&gt;&gt;&gt;::boyer_moore_finder(const char*, const char*, const boost::xpressive::regex_traits&lt;\ char, boost::xpressive::cpp_regex_traits&lt;char&gt;&gt;&amp;, bool). "~/3rdTools/boost/xpressive/detail/core/optimize.hpp", line 49: Where: Instantiated from non-template code. 1 Error(s) detected. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/5788 Trac 1.4.3 anonymous Tue, 16 Aug 2011 15:31:47 GMT <link>https://svn.boost.org/trac10/ticket/5788#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5788#comment:1</guid> <description> <p> the code can be compile with g++ , but can not be compiled with CC under sun sparc os. the above is the error. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Steven Watanabe</dc:creator> <pubDate>Sun, 16 Oct 2011 18:04:23 GMT</pubDate> <title>status, component changed; resolution set https://svn.boost.org/trac10/ticket/5788#comment:2 https://svn.boost.org/trac10/ticket/5788#comment:2 <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">wontfix</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">xpressive</span> </li> </ul> <p> xpressive doesn't support Sun CC. </p> Ticket