Opened 11 years ago

Closed 11 years ago

#5788 closed Bugs (wontfix)

xpressive can not be compiled under sun CC compiler

Reported by: hnhbdss@… Owned by:
Milestone: To Be Determined Component: xpressive
Version: Boost 1.48.0 Severity: Problem
Keywords: Cc:

Description

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<std::ForwardIter\ ator, std::Distance>(const char*, const char*) needed in boost::xpressive::detail::boyer_moore<const char*, boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_trait\ s<char>>>::boyer_moore(const char*, const char*, const boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char>>&, bool). "~/3rdTools/boost/xpressive/detail/core/finder.hpp", line 35: Where: While instantiating "boost::xpressive::detail::boyer_moore<co\ nst char*, boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char>>>::boyer_moore(const char*, const char*, const boost::xpressive::regex_traits<char, boost\ ::xpressive::cpp_regex_traits<char>>&, bool)". "~/3rdTools/boost/xpressive/detail/core/finder.hpp", line 35: Where: Instantiated from boost::xpressive::detail::boyer_moore_finde\ r<const char*, boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char>>>::boyer_moore_finder(const char*, const char*, const boost::xpressive::regex_traits<\ char, boost::xpressive::cpp_regex_traits<char>>&, bool). "~/3rdTools/boost/xpressive/detail/core/optimize.hpp", line 49: Where: Instantiated from non-template code. 1 Error(s) detected.

Change History (2)

comment:1 by anonymous, 11 years ago

the code can be compile with g++ , but can not be compiled with CC under sun sparc os. the above is the error.

comment:2 by Steven Watanabe, 11 years ago

Component: Nonexpressive
Resolution: wontfix
Status: newclosed

xpressive doesn't support Sun CC.

Note: See TracTickets for help on using tickets.