For fun, I thought I'd try to compile lyx 1.3.5 with the version of Sun Studio we use internally. I almost immediately got:
/bin/bash ../../../../libtool --mode=compile CC -DHAVE_CONFIG_H -I. -I. -I../../../../src -I../../../../boost -g -c -o cregex.lo `test -f 'cregex.cpp' || echo './'`cregex.cpp CC -DHAVE_CONFIG_H -I. -I. -I../../../../src -I../../../../boost -g -c cregex.cpp "../../../../boost/boost/regex/detail/regex_match.hpp", line 218: Error: Could not find a match for std::distance<std::ForwardIterator, std::Distance>(const char*, const char*). "../../../../boost/boost/regex/detail/regex_match.hpp", line 243: Where: While instantiating "boost::re_detail::_priv_match_data<const char*, boost::detail::allocator<char>>::estimate_max_state_count(const char*, const char*, unsigned, std::random_access_iterator_tag*)". "../../../../boost/boost/regex/detail/regex_match.hpp", line 243: Where: Instantiated from non-template code. But I'm too lazy to make head or tail of this. Lars? I'm doing a make -k and will report any others I see. regards, john