|
Boost-Build : |
Subject: Re: [Boost-build] Problem building Boost 1.40 for Mac OS 10.3.9
From: Vladimir Prus (ghost_at_[hidden])
Date: 2009-08-29 06:43:11
On Saturday 29 August 2009 Jakob Schou Jensen wrote:
Jakob,
> When trying to build Boost (regex) using:
>
> ./bootstrap.sh -with-libraries=regex
> ./bjam
>
> I get the following (first of many) error:
>
> cc1plus: warning: `dwarf-2': unknown or unsupported -g option
This seems like Boost.Build glitch. Does anybody know if that option
is can be safely dropped?
> boost/regex/v4/cpp_regex_traits.hpp: In member function `bool
> boost::re_detail::cpp_regex_traits_implementation<charT>::isctype(charT,
> typename boost::cpp_regex_traits<charT>::char_class_type) const [with charT
> = char]':
> boost/regex/v4/cpp_regex_traits.hpp:959: instantiated from `bool
> boost::cpp_regex_traits<charT>::isctype(charT, unsigned int) const
> [with charT = char]'
> boost/regex/v4/perl_matcher_common.hpp:802: instantiated from `bool
> boost::re_detail::perl_matcher<BidiIterator, Allocator,
> traits>::find_restart_word() [with BidiIterator = const char*,
> Allocator = std::allocator<boost::sub_match<const char*> >, traits =
> boost::regex_traits<char, boost::cpp_regex_traits<char> >]'
> boost/regex/v4/perl_matcher_common.hpp:246: instantiated from `bool
> boost::re_detail::perl_matcher<BidiIterator, Allocator,
> traits>::find_imp() [with BidiIterator = const char*, Allocator =
> std::allocator<boost::sub_match<const char*> >, traits =
> boost::regex_traits<char, boost::cpp_regex_traits<char> >]'
> boost/regex/v4/perl_matcher_common.hpp:230: instantiated from `bool
> boost::re_detail::perl_matcher<BidiIterator, Allocator,
> traits>::find() [with BidiIterator = const char*, Allocator =
> std::allocator<boost::sub_match<const char*> >, traits =
> boost::regex_traits<char, boost::cpp_regex_traits<char> >]'
> boost/regex/v4/regex_grep.hpp:55: instantiated from `unsigned int
> boost::regex_grep(Predicate, BidiIterator, BidiIterator, const
> boost::basic_regex<charT, traits>&,
> boost::regex_constants::_match_flags) [with Predicate =
> boost::re_detail::pred1, BidiIterator = const char*, charT = char,
> traits = boost::regex_traits<char, boost::cpp_regex_traits<char> >]'
> libs/regex/src/cregex.cpp:247: instantiated from here
> boost/regex/v4/cpp_regex_traits.hpp:827: error: `char_class_vertical'
> undeclared in namespace `boost::re_detail'
> boost/regex/v4/cpp_regex_traits.hpp:827: error: `char_class_horizontal'
> undeclared in namespace `boost::re_detail'
This appears to be a problem with Boost.Regex and is better reported
to Boost issue tracker at svn.boost.org. Be sure to try with 1.40
release and with SVN HEAD -- it might be already fixed. And also
include a minimal program that reproduces this issue.
Thanks,
Volodya
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk