* installing to library ‘/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages’ * installing *source* package ‘NUSS’ ... ** package ‘NUSS’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C++ compiler: ‘g++-14 (Debian 14.2.0-8) 14.2.0’ make[1]: Entering directory '/tmp/Rtmpj3R3fv/R.INSTALL124591836b104/NUSS/src' g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c RcppExports.cpp -o RcppExports.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include' -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c internal_unigram_sequence_segmentation.cpp -o internal_unigram_sequence_segmentation.o In file included from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/mpl/aux_/na_assert.hpp:23, from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/mpl/arg.hpp:25, from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/mpl/placeholders.hpp:24, from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/iterator/iterator_categories.hpp:16, from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/iterator/iterator_facade.hpp:13, from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/range/iterator_range_core.hpp:27, from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/range/iterator_range.hpp:13, from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/range/as_literal.hpp:18, from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/algorithm/string/predicate.hpp:20, from internal_unigram_sequence_segmentation.cpp:4: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/mpl/assert.hpp:194:21: warning: unnecessary parentheses in declaration of ‘assert_arg’ [-Wparentheses] 194 | failed ************ (Pred::************ | ^~~~~~~~~~~~~~~~~~~ 195 | assert_arg( void (*)(Pred), typename assert_arg_pred<Pred>::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 196 | ); | ~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/mpl/assert.hpp:194:21: note: remove parentheses 194 | failed ************ (Pred::************ | ^~~~~~~~~~~~~~~~~~~ | - 195 | assert_arg( void (*)(Pred), typename assert_arg_pred<Pred>::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 196 | ); | ~ | - /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/mpl/assert.hpp:199:21: warning: unnecessary parentheses in declaration of ‘assert_not_arg’ [-Wparentheses] 199 | failed ************ (boost::mpl::not_<Pred>::************ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 200 | assert_not_arg( void (*)(Pred), typename assert_arg_pred_not<Pred>::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | ); | ~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/mpl/assert.hpp:199:21: note: remove parentheses 199 | failed ************ (boost::mpl::not_<Pred>::************ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | - 200 | assert_not_arg( void (*)(Pred), typename assert_arg_pred_not<Pred>::type ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | ); | ~ | - In file included from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/bind/mem_fn.hpp:25, from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/mem_fn.hpp:22, from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/function/detail/prologue.hpp:19, from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/function.hpp:30, from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/algorithm/string/detail/find_iterator.hpp:18, from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/algorithm/string/find_iterator.hpp:24, from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/algorithm/string/iter_find.hpp:27, from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/algorithm/string/split.hpp:16, from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/algorithm/string.hpp:23, from internal_unigram_sequence_segmentation.cpp:5: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/get_pointer.hpp:48:40: warning: ‘template<class> class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 48 | template<class T> T * get_pointer(std::auto_ptr<T> const& p) | ^~~~~~~~ In file included from /usr/include/c++/14/memory:78, from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/function/function_base.hpp:34, from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/function/detail/prologue.hpp:18: /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template<typename> class auto_ptr; | ^~~~~~~~ In file included from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/smart_ptr/shared_ptr.hpp:18, from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/shared_ptr.hpp:17, from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/detail/detail_fwd.hpp:23, from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_primitives.hpp:21, from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/xpressive_static.hpp:24, from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/xpressive.hpp:18, from internal_unigram_sequence_segmentation.cpp:6: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/smart_ptr/detail/shared_count.hpp:361:33: warning: ‘template<class> class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 361 | explicit shared_count( std::auto_ptr<Y> & r ): pi_( new sp_counted_impl_p<Y>( r.get() ) ) | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template<typename> class auto_ptr; | ^~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/smart_ptr/shared_ptr.hpp:251:65: warning: ‘template<class> class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 251 | template< class T, class R > struct sp_enable_if_auto_ptr< std::auto_ptr< T >, R > | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template<typename> class auto_ptr; | ^~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/smart_ptr/shared_ptr.hpp:508:31: warning: ‘template<class> class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 508 | explicit shared_ptr( std::auto_ptr<Y> & r ): px(r.get()), pn() | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template<typename> class auto_ptr; | ^~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/smart_ptr/shared_ptr.hpp:521:22: warning: ‘template<class> class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 521 | shared_ptr( std::auto_ptr<Y> && r ): px(r.get()), pn() | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template<typename> class auto_ptr; | ^~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/smart_ptr/shared_ptr.hpp:604:34: warning: ‘template<class> class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 604 | shared_ptr & operator=( std::auto_ptr<Y> & r ) | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template<typename> class auto_ptr; | ^~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/smart_ptr/shared_ptr.hpp:613:34: warning: ‘template<class> class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 613 | shared_ptr & operator=( std::auto_ptr<Y> && r ) | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template<typename> class auto_ptr; | ^~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(std::auto_ptr<_Up>&&)’: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/smart_ptr/shared_ptr.hpp:615:38: warning: ‘template<class> class std::auto_ptr’ is deprecated: use 'std::unique_ptr' instead [-Wdeprecated-declarations] 615 | this_type( static_cast< std::auto_ptr<Y> && >( r ) ).swap( *this ); | ^~~~~~~~ /usr/include/c++/14/bits/unique_ptr.h:59:28: note: declared here 59 | template<typename> class auto_ptr; | ^~~~~~~~ In file included from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/assert.hpp:35, from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept_check.hpp:20, from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/range/concepts.hpp:19, from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/range/size_type.hpp:20, from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/range/size.hpp:21, from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/range/functions.hpp:20, from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/range/iterator_range_core.hpp:38: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/general.hpp: In instantiation of ‘static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed() [with Model = boost::concepts::usage_requirements<boost::CopyConstructible<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > > >]’: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept_check.hpp:167:5: required from ‘struct boost::CopyConstructible<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >’ 92 | &::boost::concepts::requirement_<ModelFnPtr>::failed> \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/range/concepts.hpp:125:16: required from ‘struct boost::range_detail::IncrementableIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >’ 125 | struct IncrementableIteratorConcept : CopyConstructible<Iterator> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/range/concepts.hpp:147:16: required from ‘struct boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >’ 147 | struct SinglePassIteratorConcept | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of ‘template<class Model> boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints<Model, (& Model::constraints)>*) [with Model = boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >]’ 32 | inline yes has_constraints_(Model*, wrap_constraints<Model,&Model::constraints>* = 0); | ^~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/has_constraints.hpp:42:5: required from ‘const bool boost::concepts::not_satisfied<boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > > >::value’ 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/has_constraints.hpp:45:51: [ skipping 15 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:282:39: required from ‘boost::xpressive::detail::sequence<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::parse_alternates(FwdIter&, FwdIter) [with FwdIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >]’ 282 | seq = this->parse_sequence(tmp, end); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:213:64: required from ‘boost::xpressive::basic_regex<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile_(FwdIter, FwdIter, flag_type, std::forward_iterator_tag) [with FwdIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 213 | detail::sequence<BidiIter> seq = this->parse_alternates(begin, end); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:121:30: required from ‘boost::xpressive::basic_regex<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile(InputIter, InputIter, flag_type) [with InputIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 121 | return this->compile_(begin, end, flags, category()); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:130:29: required from ‘typename boost::disable_if<boost::is_pointer<InputRange>, boost::xpressive::basic_regex<BidiIter> >::type boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile(const InputRange&, flag_type) [with InputRange = std::__cxx11::basic_string<char>; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; typename boost::disable_if<boost::is_pointer<InputRange>, boost::xpressive::basic_regex<BidiIter> >::type = boost::xpressive::basic_regex<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 130 | return this->compile(boost::begin(pat), boost::end(pat), flags); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/basic_regex.hpp:193:50: required from ‘static boost::xpressive::basic_regex<BidiIter> boost::xpressive::basic_regex<BidiIter>::compile(const InputRange&, flag_type) [with InputRange = std::__cxx11::basic_string<char>; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 193 | return regex_compiler<BidiIter>().compile(pat, flags); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ internal_unigram_sequence_segmentation.cpp:45:55: required from here 45 | if(xp::regex_search(x, xp::sregex::compile(std::string(patterns[i])))) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/general.hpp:50:47: warning: ‘this’ pointer is null [-Wnonnull] 50 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ In file included from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept_check.hpp:31: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/usage.hpp:20:5: note: in a call to non-static member function ‘boost::concepts::usage_requirements<Model>::~usage_requirements() [with Model = boost::CopyConstructible<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >]’ 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/general.hpp: In instantiation of ‘static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed() [with Model = boost::concepts::usage_requirements<boost::Convertible<boost::iterators::random_access_traversal_tag, boost::iterators::incrementable_traversal_tag> >]’: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept_check.hpp:208:5: required from ‘struct boost::Convertible<boost::iterators::random_access_traversal_tag, boost::iterators::incrementable_traversal_tag>’ 92 | &::boost::concepts::requirement_<ModelFnPtr>::failed> \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of ‘template<class Model> boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints<Model, (& Model::constraints)>*) [with Model = boost::Convertible<boost::iterators::random_access_traversal_tag, boost::iterators::incrementable_traversal_tag>]’ 32 | inline yes has_constraints_(Model*, wrap_constraints<Model,&Model::constraints>* = 0); | ^~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/has_constraints.hpp:42:5: required from ‘const bool boost::concepts::not_satisfied<boost::Convertible<boost::iterators::random_access_traversal_tag, boost::iterators::incrementable_traversal_tag> >::value’ 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/has_constraints.hpp:45:51: required from ‘struct boost::concepts::not_satisfied<boost::Convertible<boost::iterators::random_access_traversal_tag, boost::iterators::incrementable_traversal_tag> >’ 45 | typedef boost::integral_constant<bool, value> type; | ^~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/general.hpp:72:8: required from ‘struct boost::concepts::requirement_<void (*)(boost::Convertible<boost::iterators::random_access_traversal_tag, boost::iterators::incrementable_traversal_tag>)>’ 72 | struct requirement_<void(*)(Model)> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/iterator/iterator_concepts.hpp:114:7: [ skipping 19 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:282:39: required from ‘boost::xpressive::detail::sequence<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::parse_alternates(FwdIter&, FwdIter) [with FwdIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >]’ 282 | seq = this->parse_sequence(tmp, end); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:213:64: required from ‘boost::xpressive::basic_regex<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile_(FwdIter, FwdIter, flag_type, std::forward_iterator_tag) [with FwdIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 213 | detail::sequence<BidiIter> seq = this->parse_alternates(begin, end); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:121:30: required from ‘boost::xpressive::basic_regex<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile(InputIter, InputIter, flag_type) [with InputIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 121 | return this->compile_(begin, end, flags, category()); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:130:29: required from ‘typename boost::disable_if<boost::is_pointer<InputRange>, boost::xpressive::basic_regex<BidiIter> >::type boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile(const InputRange&, flag_type) [with InputRange = std::__cxx11::basic_string<char>; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; typename boost::disable_if<boost::is_pointer<InputRange>, boost::xpressive::basic_regex<BidiIter> >::type = boost::xpressive::basic_regex<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 130 | return this->compile(boost::begin(pat), boost::end(pat), flags); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/basic_regex.hpp:193:50: required from ‘static boost::xpressive::basic_regex<BidiIter> boost::xpressive::basic_regex<BidiIter>::compile(const InputRange&, flag_type) [with InputRange = std::__cxx11::basic_string<char>; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 193 | return regex_compiler<BidiIter>().compile(pat, flags); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ internal_unigram_sequence_segmentation.cpp:45:55: required from here 45 | if(xp::regex_search(x, xp::sregex::compile(std::string(patterns[i])))) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/general.hpp:50:47: warning: ‘this’ pointer is null [-Wnonnull] 50 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/usage.hpp:20:5: note: in a call to non-static member function ‘boost::concepts::usage_requirements<Model>::~usage_requirements() [with Model = boost::Convertible<boost::iterators::random_access_traversal_tag, boost::iterators::incrementable_traversal_tag>]’ 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/general.hpp: In instantiation of ‘static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed() [with Model = boost::Convertible<boost::iterators::random_access_traversal_tag, boost::iterators::incrementable_traversal_tag>]’: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/iterator/iterator_concepts.hpp:114:7: required from ‘struct boost::range_detail::IncrementableIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >’ 92 | &::boost::concepts::requirement_<ModelFnPtr>::failed> \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/range/concepts.hpp:147:16: required from ‘struct boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >’ 147 | struct SinglePassIteratorConcept | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of ‘template<class Model> boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints<Model, (& Model::constraints)>*) [with Model = boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >]’ 32 | inline yes has_constraints_(Model*, wrap_constraints<Model,&Model::constraints>* = 0); | ^~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/has_constraints.hpp:42:5: required from ‘const bool boost::concepts::not_satisfied<boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > > >::value’ 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/has_constraints.hpp:45:51: required from ‘struct boost::concepts::not_satisfied<boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > > >’ 45 | typedef boost::integral_constant<bool, value> type; | ^~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/general.hpp:72:8: [ skipping 14 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:282:39: required from ‘boost::xpressive::detail::sequence<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::parse_alternates(FwdIter&, FwdIter) [with FwdIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >]’ 282 | seq = this->parse_sequence(tmp, end); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:213:64: required from ‘boost::xpressive::basic_regex<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile_(FwdIter, FwdIter, flag_type, std::forward_iterator_tag) [with FwdIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 213 | detail::sequence<BidiIter> seq = this->parse_alternates(begin, end); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:121:30: required from ‘boost::xpressive::basic_regex<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile(InputIter, InputIter, flag_type) [with InputIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 121 | return this->compile_(begin, end, flags, category()); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:130:29: required from ‘typename boost::disable_if<boost::is_pointer<InputRange>, boost::xpressive::basic_regex<BidiIter> >::type boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile(const InputRange&, flag_type) [with InputRange = std::__cxx11::basic_string<char>; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; typename boost::disable_if<boost::is_pointer<InputRange>, boost::xpressive::basic_regex<BidiIter> >::type = boost::xpressive::basic_regex<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 130 | return this->compile(boost::begin(pat), boost::end(pat), flags); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/basic_regex.hpp:193:50: required from ‘static boost::xpressive::basic_regex<BidiIter> boost::xpressive::basic_regex<BidiIter>::compile(const InputRange&, flag_type) [with InputRange = std::__cxx11::basic_string<char>; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 193 | return regex_compiler<BidiIter>().compile(pat, flags); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ internal_unigram_sequence_segmentation.cpp:45:55: required from here 45 | if(xp::regex_search(x, xp::sregex::compile(std::string(patterns[i])))) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/general.hpp:50:47: warning: ‘this’ pointer is null [-Wnonnull] 50 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/usage.hpp:37:7: note: in a call to non-static member function ‘boost::Convertible<X, Y>::~Convertible() [with X = boost::iterators::random_access_traversal_tag; Y = boost::iterators::incrementable_traversal_tag]’ 37 | ~model() | ^ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept_check.hpp:208:5: note: in expansion of macro ‘BOOST_CONCEPT_USAGE’ 208 | BOOST_CONCEPT_USAGE(Convertible) { | ^~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/general.hpp: In instantiation of ‘static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed() [with Model = boost::concepts::usage_requirements<boost::range_detail::IncrementableIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > > >]’: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/range/concepts.hpp:136:13: required from ‘struct boost::range_detail::IncrementableIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >’ 92 | &::boost::concepts::requirement_<ModelFnPtr>::failed> \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/range/concepts.hpp:147:16: required from ‘struct boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >’ 147 | struct SinglePassIteratorConcept | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of ‘template<class Model> boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints<Model, (& Model::constraints)>*) [with Model = boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >]’ 32 | inline yes has_constraints_(Model*, wrap_constraints<Model,&Model::constraints>* = 0); | ^~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/has_constraints.hpp:42:5: required from ‘const bool boost::concepts::not_satisfied<boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > > >::value’ 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/has_constraints.hpp:45:51: required from ‘struct boost::concepts::not_satisfied<boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > > >’ 45 | typedef boost::integral_constant<bool, value> type; | ^~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/general.hpp:72:8: [ skipping 14 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:282:39: required from ‘boost::xpressive::detail::sequence<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::parse_alternates(FwdIter&, FwdIter) [with FwdIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >]’ 282 | seq = this->parse_sequence(tmp, end); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:213:64: required from ‘boost::xpressive::basic_regex<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile_(FwdIter, FwdIter, flag_type, std::forward_iterator_tag) [with FwdIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 213 | detail::sequence<BidiIter> seq = this->parse_alternates(begin, end); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:121:30: required from ‘boost::xpressive::basic_regex<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile(InputIter, InputIter, flag_type) [with InputIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 121 | return this->compile_(begin, end, flags, category()); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:130:29: required from ‘typename boost::disable_if<boost::is_pointer<InputRange>, boost::xpressive::basic_regex<BidiIter> >::type boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile(const InputRange&, flag_type) [with InputRange = std::__cxx11::basic_string<char>; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; typename boost::disable_if<boost::is_pointer<InputRange>, boost::xpressive::basic_regex<BidiIter> >::type = boost::xpressive::basic_regex<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 130 | return this->compile(boost::begin(pat), boost::end(pat), flags); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/basic_regex.hpp:193:50: required from ‘static boost::xpressive::basic_regex<BidiIter> boost::xpressive::basic_regex<BidiIter>::compile(const InputRange&, flag_type) [with InputRange = std::__cxx11::basic_string<char>; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 193 | return regex_compiler<BidiIter>().compile(pat, flags); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ internal_unigram_sequence_segmentation.cpp:45:55: required from here 45 | if(xp::regex_search(x, xp::sregex::compile(std::string(patterns[i])))) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/general.hpp:50:47: warning: ‘this’ pointer is null [-Wnonnull] 50 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/usage.hpp:20:5: note: in a call to non-static member function ‘boost::concepts::usage_requirements<Model>::~usage_requirements() [with Model = boost::range_detail::IncrementableIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >]’ 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/general.hpp: In instantiation of ‘static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed() [with Model = boost::concepts::usage_requirements<boost::EqualityComparable<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > > >]’: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept_check.hpp:233:5: required from ‘struct boost::EqualityComparable<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >’ 92 | &::boost::concepts::requirement_<ModelFnPtr>::failed> \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/range/concepts.hpp:147:16: required from ‘struct boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >’ 147 | struct SinglePassIteratorConcept | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of ‘template<class Model> boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints<Model, (& Model::constraints)>*) [with Model = boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >]’ 32 | inline yes has_constraints_(Model*, wrap_constraints<Model,&Model::constraints>* = 0); | ^~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/has_constraints.hpp:42:5: required from ‘const bool boost::concepts::not_satisfied<boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > > >::value’ 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/has_constraints.hpp:45:51: required from ‘struct boost::concepts::not_satisfied<boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > > >’ 45 | typedef boost::integral_constant<bool, value> type; | ^~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/general.hpp:72:8: [ skipping 14 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:282:39: required from ‘boost::xpressive::detail::sequence<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::parse_alternates(FwdIter&, FwdIter) [with FwdIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >]’ 282 | seq = this->parse_sequence(tmp, end); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:213:64: required from ‘boost::xpressive::basic_regex<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile_(FwdIter, FwdIter, flag_type, std::forward_iterator_tag) [with FwdIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 213 | detail::sequence<BidiIter> seq = this->parse_alternates(begin, end); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:121:30: required from ‘boost::xpressive::basic_regex<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile(InputIter, InputIter, flag_type) [with InputIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 121 | return this->compile_(begin, end, flags, category()); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:130:29: required from ‘typename boost::disable_if<boost::is_pointer<InputRange>, boost::xpressive::basic_regex<BidiIter> >::type boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile(const InputRange&, flag_type) [with InputRange = std::__cxx11::basic_string<char>; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; typename boost::disable_if<boost::is_pointer<InputRange>, boost::xpressive::basic_regex<BidiIter> >::type = boost::xpressive::basic_regex<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 130 | return this->compile(boost::begin(pat), boost::end(pat), flags); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/basic_regex.hpp:193:50: required from ‘static boost::xpressive::basic_regex<BidiIter> boost::xpressive::basic_regex<BidiIter>::compile(const InputRange&, flag_type) [with InputRange = std::__cxx11::basic_string<char>; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 193 | return regex_compiler<BidiIter>().compile(pat, flags); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ internal_unigram_sequence_segmentation.cpp:45:55: required from here 45 | if(xp::regex_search(x, xp::sregex::compile(std::string(patterns[i])))) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/general.hpp:50:47: warning: ‘this’ pointer is null [-Wnonnull] 50 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/usage.hpp:20:5: note: in a call to non-static member function ‘boost::concepts::usage_requirements<Model>::~usage_requirements() [with Model = boost::EqualityComparable<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >]’ 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/general.hpp: In instantiation of ‘static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed() [with Model = boost::concepts::usage_requirements<boost::Convertible<boost::iterators::random_access_traversal_tag, boost::iterators::single_pass_traversal_tag> >]’: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept_check.hpp:208:5: required from ‘struct boost::Convertible<boost::iterators::random_access_traversal_tag, boost::iterators::single_pass_traversal_tag>’ 92 | &::boost::concepts::requirement_<ModelFnPtr>::failed> \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of ‘template<class Model> boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints<Model, (& Model::constraints)>*) [with Model = boost::Convertible<boost::iterators::random_access_traversal_tag, boost::iterators::single_pass_traversal_tag>]’ 32 | inline yes has_constraints_(Model*, wrap_constraints<Model,&Model::constraints>* = 0); | ^~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/has_constraints.hpp:42:5: required from ‘const bool boost::concepts::not_satisfied<boost::Convertible<boost::iterators::random_access_traversal_tag, boost::iterators::single_pass_traversal_tag> >::value’ 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/has_constraints.hpp:45:51: required from ‘struct boost::concepts::not_satisfied<boost::Convertible<boost::iterators::random_access_traversal_tag, boost::iterators::single_pass_traversal_tag> >’ 45 | typedef boost::integral_constant<bool, value> type; | ^~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/general.hpp:72:8: required from ‘struct boost::concepts::requirement_<void (*)(boost::Convertible<boost::iterators::random_access_traversal_tag, boost::iterators::single_pass_traversal_tag>)>’ 72 | struct requirement_<void(*)(Model)> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/range/concepts.hpp:152:13: [ skipping 18 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:282:39: required from ‘boost::xpressive::detail::sequence<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::parse_alternates(FwdIter&, FwdIter) [with FwdIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >]’ 282 | seq = this->parse_sequence(tmp, end); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:213:64: required from ‘boost::xpressive::basic_regex<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile_(FwdIter, FwdIter, flag_type, std::forward_iterator_tag) [with FwdIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 213 | detail::sequence<BidiIter> seq = this->parse_alternates(begin, end); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:121:30: required from ‘boost::xpressive::basic_regex<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile(InputIter, InputIter, flag_type) [with InputIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 121 | return this->compile_(begin, end, flags, category()); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:130:29: required from ‘typename boost::disable_if<boost::is_pointer<InputRange>, boost::xpressive::basic_regex<BidiIter> >::type boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile(const InputRange&, flag_type) [with InputRange = std::__cxx11::basic_string<char>; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; typename boost::disable_if<boost::is_pointer<InputRange>, boost::xpressive::basic_regex<BidiIter> >::type = boost::xpressive::basic_regex<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 130 | return this->compile(boost::begin(pat), boost::end(pat), flags); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/basic_regex.hpp:193:50: required from ‘static boost::xpressive::basic_regex<BidiIter> boost::xpressive::basic_regex<BidiIter>::compile(const InputRange&, flag_type) [with InputRange = std::__cxx11::basic_string<char>; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 193 | return regex_compiler<BidiIter>().compile(pat, flags); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ internal_unigram_sequence_segmentation.cpp:45:55: required from here 45 | if(xp::regex_search(x, xp::sregex::compile(std::string(patterns[i])))) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/general.hpp:50:47: warning: ‘this’ pointer is null [-Wnonnull] 50 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/usage.hpp:20:5: note: in a call to non-static member function ‘boost::concepts::usage_requirements<Model>::~usage_requirements() [with Model = boost::Convertible<boost::iterators::random_access_traversal_tag, boost::iterators::single_pass_traversal_tag>]’ 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/general.hpp: In instantiation of ‘static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed() [with Model = boost::Convertible<boost::iterators::random_access_traversal_tag, boost::iterators::single_pass_traversal_tag>]’: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/range/concepts.hpp:152:13: required from ‘struct boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >’ 92 | &::boost::concepts::requirement_<ModelFnPtr>::failed> \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of ‘template<class Model> boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints<Model, (& Model::constraints)>*) [with Model = boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >]’ 32 | inline yes has_constraints_(Model*, wrap_constraints<Model,&Model::constraints>* = 0); | ^~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/has_constraints.hpp:42:5: required from ‘const bool boost::concepts::not_satisfied<boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > > >::value’ 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/has_constraints.hpp:45:51: required from ‘struct boost::concepts::not_satisfied<boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > > >’ 45 | typedef boost::integral_constant<bool, value> type; | ^~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/general.hpp:72:8: required from ‘struct boost::concepts::requirement_<void (*)(boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >)>’ 72 | struct requirement_<void(*)(Model)> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/range/concepts.hpp:278:9: [ skipping 13 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:282:39: required from ‘boost::xpressive::detail::sequence<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::parse_alternates(FwdIter&, FwdIter) [with FwdIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >]’ 282 | seq = this->parse_sequence(tmp, end); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:213:64: required from ‘boost::xpressive::basic_regex<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile_(FwdIter, FwdIter, flag_type, std::forward_iterator_tag) [with FwdIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 213 | detail::sequence<BidiIter> seq = this->parse_alternates(begin, end); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:121:30: required from ‘boost::xpressive::basic_regex<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile(InputIter, InputIter, flag_type) [with InputIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 121 | return this->compile_(begin, end, flags, category()); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:130:29: required from ‘typename boost::disable_if<boost::is_pointer<InputRange>, boost::xpressive::basic_regex<BidiIter> >::type boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile(const InputRange&, flag_type) [with InputRange = std::__cxx11::basic_string<char>; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; typename boost::disable_if<boost::is_pointer<InputRange>, boost::xpressive::basic_regex<BidiIter> >::type = boost::xpressive::basic_regex<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 130 | return this->compile(boost::begin(pat), boost::end(pat), flags); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/basic_regex.hpp:193:50: required from ‘static boost::xpressive::basic_regex<BidiIter> boost::xpressive::basic_regex<BidiIter>::compile(const InputRange&, flag_type) [with InputRange = std::__cxx11::basic_string<char>; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 193 | return regex_compiler<BidiIter>().compile(pat, flags); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ internal_unigram_sequence_segmentation.cpp:45:55: required from here 45 | if(xp::regex_search(x, xp::sregex::compile(std::string(patterns[i])))) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/general.hpp:50:47: warning: ‘this’ pointer is null [-Wnonnull] 50 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/usage.hpp:37:7: note: in a call to non-static member function ‘boost::Convertible<X, Y>::~Convertible() [with X = boost::iterators::random_access_traversal_tag; Y = boost::iterators::single_pass_traversal_tag]’ 37 | ~model() | ^ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept_check.hpp:208:5: note: in expansion of macro ‘BOOST_CONCEPT_USAGE’ 208 | BOOST_CONCEPT_USAGE(Convertible) { | ^~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/general.hpp: In instantiation of ‘static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed() [with Model = boost::concepts::usage_requirements<boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > > >]’: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/range/concepts.hpp:158:13: required from ‘struct boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >’ 92 | &::boost::concepts::requirement_<ModelFnPtr>::failed> \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of ‘template<class Model> boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints<Model, (& Model::constraints)>*) [with Model = boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >]’ 32 | inline yes has_constraints_(Model*, wrap_constraints<Model,&Model::constraints>* = 0); | ^~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/has_constraints.hpp:42:5: required from ‘const bool boost::concepts::not_satisfied<boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > > >::value’ 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/has_constraints.hpp:45:51: required from ‘struct boost::concepts::not_satisfied<boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > > >’ 45 | typedef boost::integral_constant<bool, value> type; | ^~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/general.hpp:72:8: required from ‘struct boost::concepts::requirement_<void (*)(boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >)>’ 72 | struct requirement_<void(*)(Model)> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/range/concepts.hpp:278:9: [ skipping 13 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:282:39: required from ‘boost::xpressive::detail::sequence<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::parse_alternates(FwdIter&, FwdIter) [with FwdIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >]’ 282 | seq = this->parse_sequence(tmp, end); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:213:64: required from ‘boost::xpressive::basic_regex<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile_(FwdIter, FwdIter, flag_type, std::forward_iterator_tag) [with FwdIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 213 | detail::sequence<BidiIter> seq = this->parse_alternates(begin, end); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:121:30: required from ‘boost::xpressive::basic_regex<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile(InputIter, InputIter, flag_type) [with InputIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 121 | return this->compile_(begin, end, flags, category()); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:130:29: required from ‘typename boost::disable_if<boost::is_pointer<InputRange>, boost::xpressive::basic_regex<BidiIter> >::type boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile(const InputRange&, flag_type) [with InputRange = std::__cxx11::basic_string<char>; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; typename boost::disable_if<boost::is_pointer<InputRange>, boost::xpressive::basic_regex<BidiIter> >::type = boost::xpressive::basic_regex<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 130 | return this->compile(boost::begin(pat), boost::end(pat), flags); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/basic_regex.hpp:193:50: required from ‘static boost::xpressive::basic_regex<BidiIter> boost::xpressive::basic_regex<BidiIter>::compile(const InputRange&, flag_type) [with InputRange = std::__cxx11::basic_string<char>; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 193 | return regex_compiler<BidiIter>().compile(pat, flags); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ internal_unigram_sequence_segmentation.cpp:45:55: required from here 45 | if(xp::regex_search(x, xp::sregex::compile(std::string(patterns[i])))) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/general.hpp:50:47: warning: ‘this’ pointer is null [-Wnonnull] 50 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/usage.hpp:20:5: note: in a call to non-static member function ‘boost::concepts::usage_requirements<Model>::~usage_requirements() [with Model = boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >]’ 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/general.hpp: In instantiation of ‘static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed() [with Model = boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >]’: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/range/concepts.hpp:278:9: required from ‘struct boost::SinglePassRangeConcept<std::__cxx11::basic_string<char> >’ 92 | &::boost::concepts::requirement_<ModelFnPtr>::failed> \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of ‘template<class Model> boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints<Model, (& Model::constraints)>*) [with Model = boost::SinglePassRangeConcept<std::__cxx11::basic_string<char> >]’ 32 | inline yes has_constraints_(Model*, wrap_constraints<Model,&Model::constraints>* = 0); | ^~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/has_constraints.hpp:42:5: required from ‘const bool boost::concepts::not_satisfied<boost::SinglePassRangeConcept<std::__cxx11::basic_string<char> > >::value’ 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/has_constraints.hpp:45:51: required from ‘struct boost::concepts::not_satisfied<boost::SinglePassRangeConcept<std::__cxx11::basic_string<char> > >’ 45 | typedef boost::integral_constant<bool, value> type; | ^~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/general.hpp:72:8: required from ‘struct boost::concepts::requirement_<void (*)(boost::SinglePassRangeConcept<std::__cxx11::basic_string<char> >)>’ 72 | struct requirement_<void(*)(Model)> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/range/size.hpp:62:9: [ skipping 8 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:282:39: required from ‘boost::xpressive::detail::sequence<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::parse_alternates(FwdIter&, FwdIter) [with FwdIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >]’ 282 | seq = this->parse_sequence(tmp, end); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:213:64: required from ‘boost::xpressive::basic_regex<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile_(FwdIter, FwdIter, flag_type, std::forward_iterator_tag) [with FwdIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 213 | detail::sequence<BidiIter> seq = this->parse_alternates(begin, end); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:121:30: required from ‘boost::xpressive::basic_regex<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile(InputIter, InputIter, flag_type) [with InputIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 121 | return this->compile_(begin, end, flags, category()); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:130:29: required from ‘typename boost::disable_if<boost::is_pointer<InputRange>, boost::xpressive::basic_regex<BidiIter> >::type boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile(const InputRange&, flag_type) [with InputRange = std::__cxx11::basic_string<char>; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; typename boost::disable_if<boost::is_pointer<InputRange>, boost::xpressive::basic_regex<BidiIter> >::type = boost::xpressive::basic_regex<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 130 | return this->compile(boost::begin(pat), boost::end(pat), flags); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/basic_regex.hpp:193:50: required from ‘static boost::xpressive::basic_regex<BidiIter> boost::xpressive::basic_regex<BidiIter>::compile(const InputRange&, flag_type) [with InputRange = std::__cxx11::basic_string<char>; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 193 | return regex_compiler<BidiIter>().compile(pat, flags); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ internal_unigram_sequence_segmentation.cpp:45:55: required from here 45 | if(xp::regex_search(x, xp::sregex::compile(std::string(patterns[i])))) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/general.hpp:50:47: warning: ‘this’ pointer is null [-Wnonnull] 50 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/usage.hpp:37:7: note: in a call to non-static member function ‘boost::range_detail::SinglePassIteratorConcept<Iterator>::~SinglePassIteratorConcept() [with Iterator = __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> >]’ 37 | ~model() | ^ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/range/concepts.hpp:158:13: note: in expansion of macro ‘BOOST_CONCEPT_USAGE’ 158 | BOOST_CONCEPT_USAGE(SinglePassIteratorConcept) | ^~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/general.hpp: In instantiation of ‘static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed() [with Model = boost::concepts::usage_requirements<boost::CopyConstructible<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > > >]’: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept_check.hpp:167:5: required from ‘struct boost::CopyConstructible<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >’ 92 | &::boost::concepts::requirement_<ModelFnPtr>::failed> \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/range/concepts.hpp:125:16: required from ‘struct boost::range_detail::IncrementableIteratorConcept<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >’ 125 | struct IncrementableIteratorConcept : CopyConstructible<Iterator> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/range/concepts.hpp:147:16: required from ‘struct boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >’ 147 | struct SinglePassIteratorConcept | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of ‘template<class Model> boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints<Model, (& Model::constraints)>*) [with Model = boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >]’ 32 | inline yes has_constraints_(Model*, wrap_constraints<Model,&Model::constraints>* = 0); | ^~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/has_constraints.hpp:42:5: required from ‘const bool boost::concepts::not_satisfied<boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > > >::value’ 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/has_constraints.hpp:45:51: [ skipping 15 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:282:39: required from ‘boost::xpressive::detail::sequence<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::parse_alternates(FwdIter&, FwdIter) [with FwdIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >]’ 282 | seq = this->parse_sequence(tmp, end); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:213:64: required from ‘boost::xpressive::basic_regex<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile_(FwdIter, FwdIter, flag_type, std::forward_iterator_tag) [with FwdIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 213 | detail::sequence<BidiIter> seq = this->parse_alternates(begin, end); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:121:30: required from ‘boost::xpressive::basic_regex<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile(InputIter, InputIter, flag_type) [with InputIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 121 | return this->compile_(begin, end, flags, category()); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:130:29: required from ‘typename boost::disable_if<boost::is_pointer<InputRange>, boost::xpressive::basic_regex<BidiIter> >::type boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile(const InputRange&, flag_type) [with InputRange = std::__cxx11::basic_string<char>; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; typename boost::disable_if<boost::is_pointer<InputRange>, boost::xpressive::basic_regex<BidiIter> >::type = boost::xpressive::basic_regex<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 130 | return this->compile(boost::begin(pat), boost::end(pat), flags); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/basic_regex.hpp:193:50: required from ‘static boost::xpressive::basic_regex<BidiIter> boost::xpressive::basic_regex<BidiIter>::compile(const InputRange&, flag_type) [with InputRange = std::__cxx11::basic_string<char>; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 193 | return regex_compiler<BidiIter>().compile(pat, flags); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ internal_unigram_sequence_segmentation.cpp:45:55: required from here 45 | if(xp::regex_search(x, xp::sregex::compile(std::string(patterns[i])))) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/general.hpp:50:47: warning: ‘this’ pointer is null [-Wnonnull] 50 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/usage.hpp:20:5: note: in a call to non-static member function ‘boost::concepts::usage_requirements<Model>::~usage_requirements() [with Model = boost::CopyConstructible<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >]’ 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/general.hpp: In instantiation of ‘static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed() [with Model = boost::concepts::usage_requirements<boost::range_detail::IncrementableIteratorConcept<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > > >]’: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/range/concepts.hpp:136:13: required from ‘struct boost::range_detail::IncrementableIteratorConcept<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >’ 92 | &::boost::concepts::requirement_<ModelFnPtr>::failed> \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/range/concepts.hpp:147:16: required from ‘struct boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >’ 147 | struct SinglePassIteratorConcept | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of ‘template<class Model> boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints<Model, (& Model::constraints)>*) [with Model = boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >]’ 32 | inline yes has_constraints_(Model*, wrap_constraints<Model,&Model::constraints>* = 0); | ^~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/has_constraints.hpp:42:5: required from ‘const bool boost::concepts::not_satisfied<boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > > >::value’ 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/has_constraints.hpp:45:51: required from ‘struct boost::concepts::not_satisfied<boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > > >’ 45 | typedef boost::integral_constant<bool, value> type; | ^~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/general.hpp:72:8: [ skipping 14 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:282:39: required from ‘boost::xpressive::detail::sequence<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::parse_alternates(FwdIter&, FwdIter) [with FwdIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >]’ 282 | seq = this->parse_sequence(tmp, end); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:213:64: required from ‘boost::xpressive::basic_regex<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile_(FwdIter, FwdIter, flag_type, std::forward_iterator_tag) [with FwdIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 213 | detail::sequence<BidiIter> seq = this->parse_alternates(begin, end); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:121:30: required from ‘boost::xpressive::basic_regex<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile(InputIter, InputIter, flag_type) [with InputIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 121 | return this->compile_(begin, end, flags, category()); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:130:29: required from ‘typename boost::disable_if<boost::is_pointer<InputRange>, boost::xpressive::basic_regex<BidiIter> >::type boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile(const InputRange&, flag_type) [with InputRange = std::__cxx11::basic_string<char>; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; typename boost::disable_if<boost::is_pointer<InputRange>, boost::xpressive::basic_regex<BidiIter> >::type = boost::xpressive::basic_regex<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 130 | return this->compile(boost::begin(pat), boost::end(pat), flags); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/basic_regex.hpp:193:50: required from ‘static boost::xpressive::basic_regex<BidiIter> boost::xpressive::basic_regex<BidiIter>::compile(const InputRange&, flag_type) [with InputRange = std::__cxx11::basic_string<char>; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 193 | return regex_compiler<BidiIter>().compile(pat, flags); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ internal_unigram_sequence_segmentation.cpp:45:55: required from here 45 | if(xp::regex_search(x, xp::sregex::compile(std::string(patterns[i])))) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/general.hpp:50:47: warning: ‘this’ pointer is null [-Wnonnull] 50 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/usage.hpp:20:5: note: in a call to non-static member function ‘boost::concepts::usage_requirements<Model>::~usage_requirements() [with Model = boost::range_detail::IncrementableIteratorConcept<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >]’ 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/general.hpp: In instantiation of ‘static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed() [with Model = boost::concepts::usage_requirements<boost::EqualityComparable<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > > >]’: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept_check.hpp:233:5: required from ‘struct boost::EqualityComparable<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >’ 92 | &::boost::concepts::requirement_<ModelFnPtr>::failed> \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/range/concepts.hpp:147:16: required from ‘struct boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >’ 147 | struct SinglePassIteratorConcept | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of ‘template<class Model> boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints<Model, (& Model::constraints)>*) [with Model = boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >]’ 32 | inline yes has_constraints_(Model*, wrap_constraints<Model,&Model::constraints>* = 0); | ^~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/has_constraints.hpp:42:5: required from ‘const bool boost::concepts::not_satisfied<boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > > >::value’ 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/has_constraints.hpp:45:51: required from ‘struct boost::concepts::not_satisfied<boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > > >’ 45 | typedef boost::integral_constant<bool, value> type; | ^~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/general.hpp:72:8: [ skipping 14 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:282:39: required from ‘boost::xpressive::detail::sequence<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::parse_alternates(FwdIter&, FwdIter) [with FwdIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >]’ 282 | seq = this->parse_sequence(tmp, end); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:213:64: required from ‘boost::xpressive::basic_regex<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile_(FwdIter, FwdIter, flag_type, std::forward_iterator_tag) [with FwdIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 213 | detail::sequence<BidiIter> seq = this->parse_alternates(begin, end); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:121:30: required from ‘boost::xpressive::basic_regex<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile(InputIter, InputIter, flag_type) [with InputIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 121 | return this->compile_(begin, end, flags, category()); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:130:29: required from ‘typename boost::disable_if<boost::is_pointer<InputRange>, boost::xpressive::basic_regex<BidiIter> >::type boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile(const InputRange&, flag_type) [with InputRange = std::__cxx11::basic_string<char>; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; typename boost::disable_if<boost::is_pointer<InputRange>, boost::xpressive::basic_regex<BidiIter> >::type = boost::xpressive::basic_regex<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 130 | return this->compile(boost::begin(pat), boost::end(pat), flags); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/basic_regex.hpp:193:50: required from ‘static boost::xpressive::basic_regex<BidiIter> boost::xpressive::basic_regex<BidiIter>::compile(const InputRange&, flag_type) [with InputRange = std::__cxx11::basic_string<char>; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 193 | return regex_compiler<BidiIter>().compile(pat, flags); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ internal_unigram_sequence_segmentation.cpp:45:55: required from here 45 | if(xp::regex_search(x, xp::sregex::compile(std::string(patterns[i])))) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/general.hpp:50:47: warning: ‘this’ pointer is null [-Wnonnull] 50 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/usage.hpp:20:5: note: in a call to non-static member function ‘boost::concepts::usage_requirements<Model>::~usage_requirements() [with Model = boost::EqualityComparable<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >]’ 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/general.hpp: In instantiation of ‘static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed() [with Model = boost::concepts::usage_requirements<boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > > >]’: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/range/concepts.hpp:158:13: required from ‘struct boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >’ 92 | &::boost::concepts::requirement_<ModelFnPtr>::failed> \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of ‘template<class Model> boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints<Model, (& Model::constraints)>*) [with Model = boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >]’ 32 | inline yes has_constraints_(Model*, wrap_constraints<Model,&Model::constraints>* = 0); | ^~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/has_constraints.hpp:42:5: required from ‘const bool boost::concepts::not_satisfied<boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > > >::value’ 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/has_constraints.hpp:45:51: required from ‘struct boost::concepts::not_satisfied<boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > > >’ 45 | typedef boost::integral_constant<bool, value> type; | ^~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/general.hpp:72:8: required from ‘struct boost::concepts::requirement_<void (*)(boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >)>’ 72 | struct requirement_<void(*)(Model)> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/range/concepts.hpp:281:9: [ skipping 13 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:282:39: required from ‘boost::xpressive::detail::sequence<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::parse_alternates(FwdIter&, FwdIter) [with FwdIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >]’ 282 | seq = this->parse_sequence(tmp, end); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:213:64: required from ‘boost::xpressive::basic_regex<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile_(FwdIter, FwdIter, flag_type, std::forward_iterator_tag) [with FwdIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 213 | detail::sequence<BidiIter> seq = this->parse_alternates(begin, end); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:121:30: required from ‘boost::xpressive::basic_regex<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile(InputIter, InputIter, flag_type) [with InputIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 121 | return this->compile_(begin, end, flags, category()); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:130:29: required from ‘typename boost::disable_if<boost::is_pointer<InputRange>, boost::xpressive::basic_regex<BidiIter> >::type boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile(const InputRange&, flag_type) [with InputRange = std::__cxx11::basic_string<char>; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; typename boost::disable_if<boost::is_pointer<InputRange>, boost::xpressive::basic_regex<BidiIter> >::type = boost::xpressive::basic_regex<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 130 | return this->compile(boost::begin(pat), boost::end(pat), flags); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/basic_regex.hpp:193:50: required from ‘static boost::xpressive::basic_regex<BidiIter> boost::xpressive::basic_regex<BidiIter>::compile(const InputRange&, flag_type) [with InputRange = std::__cxx11::basic_string<char>; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 193 | return regex_compiler<BidiIter>().compile(pat, flags); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ internal_unigram_sequence_segmentation.cpp:45:55: required from here 45 | if(xp::regex_search(x, xp::sregex::compile(std::string(patterns[i])))) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/general.hpp:50:47: warning: ‘this’ pointer is null [-Wnonnull] 50 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/usage.hpp:20:5: note: in a call to non-static member function ‘boost::concepts::usage_requirements<Model>::~usage_requirements() [with Model = boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >]’ 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/general.hpp: In instantiation of ‘static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed() [with Model = boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >]’: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/range/concepts.hpp:281:9: required from ‘struct boost::SinglePassRangeConcept<std::__cxx11::basic_string<char> >’ 92 | &::boost::concepts::requirement_<ModelFnPtr>::failed> \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of ‘template<class Model> boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints<Model, (& Model::constraints)>*) [with Model = boost::SinglePassRangeConcept<std::__cxx11::basic_string<char> >]’ 32 | inline yes has_constraints_(Model*, wrap_constraints<Model,&Model::constraints>* = 0); | ^~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/has_constraints.hpp:42:5: required from ‘const bool boost::concepts::not_satisfied<boost::SinglePassRangeConcept<std::__cxx11::basic_string<char> > >::value’ 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/has_constraints.hpp:45:51: required from ‘struct boost::concepts::not_satisfied<boost::SinglePassRangeConcept<std::__cxx11::basic_string<char> > >’ 45 | typedef boost::integral_constant<bool, value> type; | ^~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/general.hpp:72:8: required from ‘struct boost::concepts::requirement_<void (*)(boost::SinglePassRangeConcept<std::__cxx11::basic_string<char> >)>’ 72 | struct requirement_<void(*)(Model)> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/range/size.hpp:62:9: [ skipping 8 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:282:39: required from ‘boost::xpressive::detail::sequence<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::parse_alternates(FwdIter&, FwdIter) [with FwdIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >]’ 282 | seq = this->parse_sequence(tmp, end); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:213:64: required from ‘boost::xpressive::basic_regex<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile_(FwdIter, FwdIter, flag_type, std::forward_iterator_tag) [with FwdIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 213 | detail::sequence<BidiIter> seq = this->parse_alternates(begin, end); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:121:30: required from ‘boost::xpressive::basic_regex<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile(InputIter, InputIter, flag_type) [with InputIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 121 | return this->compile_(begin, end, flags, category()); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:130:29: required from ‘typename boost::disable_if<boost::is_pointer<InputRange>, boost::xpressive::basic_regex<BidiIter> >::type boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile(const InputRange&, flag_type) [with InputRange = std::__cxx11::basic_string<char>; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; typename boost::disable_if<boost::is_pointer<InputRange>, boost::xpressive::basic_regex<BidiIter> >::type = boost::xpressive::basic_regex<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 130 | return this->compile(boost::begin(pat), boost::end(pat), flags); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/basic_regex.hpp:193:50: required from ‘static boost::xpressive::basic_regex<BidiIter> boost::xpressive::basic_regex<BidiIter>::compile(const InputRange&, flag_type) [with InputRange = std::__cxx11::basic_string<char>; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 193 | return regex_compiler<BidiIter>().compile(pat, flags); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ internal_unigram_sequence_segmentation.cpp:45:55: required from here 45 | if(xp::regex_search(x, xp::sregex::compile(std::string(patterns[i])))) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/general.hpp:50:47: warning: ‘this’ pointer is null [-Wnonnull] 50 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/usage.hpp:37:7: note: in a call to non-static member function ‘boost::range_detail::SinglePassIteratorConcept<Iterator>::~SinglePassIteratorConcept() [with Iterator = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >]’ 37 | ~model() | ^ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/range/concepts.hpp:158:13: note: in expansion of macro ‘BOOST_CONCEPT_USAGE’ 158 | BOOST_CONCEPT_USAGE(SinglePassIteratorConcept) | ^~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/general.hpp: In instantiation of ‘static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed() [with Model = boost::concepts::usage_requirements<boost::SinglePassRangeConcept<std::__cxx11::basic_string<char> > >]’: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/range/concepts.hpp:284:9: required from ‘struct boost::SinglePassRangeConcept<std::__cxx11::basic_string<char> >’ 92 | &::boost::concepts::requirement_<ModelFnPtr>::failed> \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of ‘template<class Model> boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints<Model, (& Model::constraints)>*) [with Model = boost::SinglePassRangeConcept<std::__cxx11::basic_string<char> >]’ 32 | inline yes has_constraints_(Model*, wrap_constraints<Model,&Model::constraints>* = 0); | ^~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/has_constraints.hpp:42:5: required from ‘const bool boost::concepts::not_satisfied<boost::SinglePassRangeConcept<std::__cxx11::basic_string<char> > >::value’ 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/has_constraints.hpp:45:51: required from ‘struct boost::concepts::not_satisfied<boost::SinglePassRangeConcept<std::__cxx11::basic_string<char> > >’ 45 | typedef boost::integral_constant<bool, value> type; | ^~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/general.hpp:72:8: required from ‘struct boost::concepts::requirement_<void (*)(boost::SinglePassRangeConcept<std::__cxx11::basic_string<char> >)>’ 72 | struct requirement_<void(*)(Model)> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/range/size.hpp:62:9: [ skipping 8 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:282:39: required from ‘boost::xpressive::detail::sequence<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::parse_alternates(FwdIter&, FwdIter) [with FwdIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >]’ 282 | seq = this->parse_sequence(tmp, end); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:213:64: required from ‘boost::xpressive::basic_regex<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile_(FwdIter, FwdIter, flag_type, std::forward_iterator_tag) [with FwdIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 213 | detail::sequence<BidiIter> seq = this->parse_alternates(begin, end); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:121:30: required from ‘boost::xpressive::basic_regex<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile(InputIter, InputIter, flag_type) [with InputIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 121 | return this->compile_(begin, end, flags, category()); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:130:29: required from ‘typename boost::disable_if<boost::is_pointer<InputRange>, boost::xpressive::basic_regex<BidiIter> >::type boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile(const InputRange&, flag_type) [with InputRange = std::__cxx11::basic_string<char>; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; typename boost::disable_if<boost::is_pointer<InputRange>, boost::xpressive::basic_regex<BidiIter> >::type = boost::xpressive::basic_regex<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 130 | return this->compile(boost::begin(pat), boost::end(pat), flags); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/basic_regex.hpp:193:50: required from ‘static boost::xpressive::basic_regex<BidiIter> boost::xpressive::basic_regex<BidiIter>::compile(const InputRange&, flag_type) [with InputRange = std::__cxx11::basic_string<char>; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 193 | return regex_compiler<BidiIter>().compile(pat, flags); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ internal_unigram_sequence_segmentation.cpp:45:55: required from here 45 | if(xp::regex_search(x, xp::sregex::compile(std::string(patterns[i])))) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/general.hpp:50:47: warning: ‘this’ pointer is null [-Wnonnull] 50 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/usage.hpp:20:5: note: in a call to non-static member function ‘boost::concepts::usage_requirements<Model>::~usage_requirements() [with Model = boost::SinglePassRangeConcept<std::__cxx11::basic_string<char> >]’ 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ^ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/general.hpp: In instantiation of ‘static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed() [with Model = boost::SinglePassRangeConcept<std::__cxx11::basic_string<char> >]’: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/range/size.hpp:62:9: required from ‘typename boost::range_size<const SinglePassRange>::type boost::size(const SinglePassRange&) [with SinglePassRange = std::__cxx11::basic_string<char>; typename range_size<const SinglePassRange>::type = long unsigned int]’ 92 | &::boost::concepts::requirement_<ModelFnPtr>::failed> \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/detail/core/matcher/string_matcher.hpp:84:31: required from ‘boost::xpressive::detail::width boost::xpressive::detail::string_matcher<Traits, ICase>::get_width() const [with Traits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; ICase = mpl_::bool_<true>]’ 84 | return boost::size(this->str_); | ~~~~~~~~~~~^~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/detail/dynamic/sequence.hpp:43:39: required from ‘boost::xpressive::detail::sequence<BidiIter>::sequence(const boost::intrusive_ptr<boost::xpressive::detail::dynamic_xpression<Matcher, BidiIter> >&) [with Matcher = boost::xpressive::detail::string_matcher<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >, mpl_::bool_<true> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >]’ 43 | , width_(xpr->Matcher::get_width()) | ~~~~~~~~~~~~~~~~~~~~~~~^~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/detail/dynamic/dynamic.hpp:165:12: required from ‘boost::xpressive::detail::sequence<BidiIter> boost::xpressive::detail::make_dynamic(const Matcher&) [with BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; Matcher = string_matcher<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >, mpl_::bool_<true> >]’ 165 | return sequence<BidiIter>(xpr); | ^~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/detail/dynamic/parser.hpp:128:38: required from ‘boost::xpressive::detail::sequence<BidiIter> boost::xpressive::detail::make_literal_xpression(const typename Traits::string_type&, boost::xpressive::regex_constants::syntax_option_type, const Traits&) [with BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; Traits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; typename Traits::string_type = std::__cxx11::basic_string<char>]’ 128 | return make_dynamic<BidiIter>(matcher); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:499:13: [ skipping 3 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:282:39: required from ‘boost::xpressive::detail::sequence<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::parse_alternates(FwdIter&, FwdIter) [with FwdIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >]’ 282 | seq = this->parse_sequence(tmp, end); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:213:64: required from ‘boost::xpressive::basic_regex<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile_(FwdIter, FwdIter, flag_type, std::forward_iterator_tag) [with FwdIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 213 | detail::sequence<BidiIter> seq = this->parse_alternates(begin, end); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:121:30: required from ‘boost::xpressive::basic_regex<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile(InputIter, InputIter, flag_type) [with InputIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 121 | return this->compile_(begin, end, flags, category()); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:130:29: required from ‘typename boost::disable_if<boost::is_pointer<InputRange>, boost::xpressive::basic_regex<BidiIter> >::type boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile(const InputRange&, flag_type) [with InputRange = std::__cxx11::basic_string<char>; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; typename boost::disable_if<boost::is_pointer<InputRange>, boost::xpressive::basic_regex<BidiIter> >::type = boost::xpressive::basic_regex<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 130 | return this->compile(boost::begin(pat), boost::end(pat), flags); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/basic_regex.hpp:193:50: required from ‘static boost::xpressive::basic_regex<BidiIter> boost::xpressive::basic_regex<BidiIter>::compile(const InputRange&, flag_type) [with InputRange = std::__cxx11::basic_string<char>; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 193 | return regex_compiler<BidiIter>().compile(pat, flags); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ internal_unigram_sequence_segmentation.cpp:45:55: required from here 45 | if(xp::regex_search(x, xp::sregex::compile(std::string(patterns[i])))) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/general.hpp:50:47: warning: ‘this’ pointer is null [-Wnonnull] 50 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/usage.hpp:37:7: note: in a call to non-static member function ‘boost::SinglePassRangeConcept<T>::~SinglePassRangeConcept() [with T = std::__cxx11::basic_string<char>]’ 37 | ~model() | ^ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/range/concepts.hpp:284:9: note: in expansion of macro ‘BOOST_CONCEPT_USAGE’ 284 | BOOST_CONCEPT_USAGE(SinglePassRangeConcept) | ^~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/usage.hpp: In instantiation of ‘boost::concepts::usage_requirements<Model>::~usage_requirements() [with Model = boost::CopyConstructible<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >]’: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/general.hpp:50:47: required from ‘static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed() [with Model = boost::concepts::usage_requirements<boost::CopyConstructible<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > > >]’ 50 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept_check.hpp:167:5: required from ‘struct boost::CopyConstructible<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >’ 92 | &::boost::concepts::requirement_<ModelFnPtr>::failed> \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/range/concepts.hpp:125:16: required from ‘struct boost::range_detail::IncrementableIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >’ 125 | struct IncrementableIteratorConcept : CopyConstructible<Iterator> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/range/concepts.hpp:147:16: required from ‘struct boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >’ 147 | struct SinglePassIteratorConcept | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of ‘template<class Model> boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints<Model, (& Model::constraints)>*) [with Model = boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >]’ 32 | inline yes has_constraints_(Model*, wrap_constraints<Model,&Model::constraints>* = 0); | ^~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/has_constraints.hpp:42:5: [ skipping 16 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:282:39: required from ‘boost::xpressive::detail::sequence<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::parse_alternates(FwdIter&, FwdIter) [with FwdIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >]’ 282 | seq = this->parse_sequence(tmp, end); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:213:64: required from ‘boost::xpressive::basic_regex<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile_(FwdIter, FwdIter, flag_type, std::forward_iterator_tag) [with FwdIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 213 | detail::sequence<BidiIter> seq = this->parse_alternates(begin, end); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:121:30: required from ‘boost::xpressive::basic_regex<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile(InputIter, InputIter, flag_type) [with InputIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 121 | return this->compile_(begin, end, flags, category()); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:130:29: required from ‘typename boost::disable_if<boost::is_pointer<InputRange>, boost::xpressive::basic_regex<BidiIter> >::type boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile(const InputRange&, flag_type) [with InputRange = std::__cxx11::basic_string<char>; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; typename boost::disable_if<boost::is_pointer<InputRange>, boost::xpressive::basic_regex<BidiIter> >::type = boost::xpressive::basic_regex<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 130 | return this->compile(boost::begin(pat), boost::end(pat), flags); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/basic_regex.hpp:193:50: required from ‘static boost::xpressive::basic_regex<BidiIter> boost::xpressive::basic_regex<BidiIter>::compile(const InputRange&, flag_type) [with InputRange = std::__cxx11::basic_string<char>; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 193 | return regex_compiler<BidiIter>().compile(pat, flags); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ internal_unigram_sequence_segmentation.cpp:45:55: required from here 45 | if(xp::regex_search(x, xp::sregex::compile(std::string(patterns[i])))) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/usage.hpp:20:48: warning: ‘this’ pointer is null [-Wnonnull] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/usage.hpp:37:7: note: in a call to non-static member function ‘boost::CopyConstructible<TT>::~CopyConstructible() [with TT = __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> >]’ 37 | ~model() | ^ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept_check.hpp:167:5: note: in expansion of macro ‘BOOST_CONCEPT_USAGE’ 167 | BOOST_CONCEPT_USAGE(CopyConstructible) { | ^~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/usage.hpp: In instantiation of ‘boost::concepts::usage_requirements<Model>::~usage_requirements() [with Model = boost::Convertible<boost::iterators::random_access_traversal_tag, boost::iterators::incrementable_traversal_tag>]’: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/general.hpp:50:47: required from ‘static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed() [with Model = boost::concepts::usage_requirements<boost::Convertible<boost::iterators::random_access_traversal_tag, boost::iterators::incrementable_traversal_tag> >]’ 50 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept_check.hpp:208:5: required from ‘struct boost::Convertible<boost::iterators::random_access_traversal_tag, boost::iterators::incrementable_traversal_tag>’ 92 | &::boost::concepts::requirement_<ModelFnPtr>::failed> \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of ‘template<class Model> boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints<Model, (& Model::constraints)>*) [with Model = boost::Convertible<boost::iterators::random_access_traversal_tag, boost::iterators::incrementable_traversal_tag>]’ 32 | inline yes has_constraints_(Model*, wrap_constraints<Model,&Model::constraints>* = 0); | ^~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/has_constraints.hpp:42:5: required from ‘const bool boost::concepts::not_satisfied<boost::Convertible<boost::iterators::random_access_traversal_tag, boost::iterators::incrementable_traversal_tag> >::value’ 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/has_constraints.hpp:45:51: required from ‘struct boost::concepts::not_satisfied<boost::Convertible<boost::iterators::random_access_traversal_tag, boost::iterators::incrementable_traversal_tag> >’ 45 | typedef boost::integral_constant<bool, value> type; | ^~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/general.hpp:72:8: [ skipping 20 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:282:39: required from ‘boost::xpressive::detail::sequence<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::parse_alternates(FwdIter&, FwdIter) [with FwdIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >]’ 282 | seq = this->parse_sequence(tmp, end); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:213:64: required from ‘boost::xpressive::basic_regex<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile_(FwdIter, FwdIter, flag_type, std::forward_iterator_tag) [with FwdIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 213 | detail::sequence<BidiIter> seq = this->parse_alternates(begin, end); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:121:30: required from ‘boost::xpressive::basic_regex<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile(InputIter, InputIter, flag_type) [with InputIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 121 | return this->compile_(begin, end, flags, category()); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:130:29: required from ‘typename boost::disable_if<boost::is_pointer<InputRange>, boost::xpressive::basic_regex<BidiIter> >::type boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile(const InputRange&, flag_type) [with InputRange = std::__cxx11::basic_string<char>; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; typename boost::disable_if<boost::is_pointer<InputRange>, boost::xpressive::basic_regex<BidiIter> >::type = boost::xpressive::basic_regex<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 130 | return this->compile(boost::begin(pat), boost::end(pat), flags); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/basic_regex.hpp:193:50: required from ‘static boost::xpressive::basic_regex<BidiIter> boost::xpressive::basic_regex<BidiIter>::compile(const InputRange&, flag_type) [with InputRange = std::__cxx11::basic_string<char>; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 193 | return regex_compiler<BidiIter>().compile(pat, flags); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ internal_unigram_sequence_segmentation.cpp:45:55: required from here 45 | if(xp::regex_search(x, xp::sregex::compile(std::string(patterns[i])))) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/usage.hpp:20:48: warning: ‘this’ pointer is null [-Wnonnull] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/usage.hpp:37:7: note: in a call to non-static member function ‘boost::Convertible<X, Y>::~Convertible() [with X = boost::iterators::random_access_traversal_tag; Y = boost::iterators::incrementable_traversal_tag]’ 37 | ~model() | ^ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept_check.hpp:208:5: note: in expansion of macro ‘BOOST_CONCEPT_USAGE’ 208 | BOOST_CONCEPT_USAGE(Convertible) { | ^~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/usage.hpp: In instantiation of ‘boost::concepts::usage_requirements<Model>::~usage_requirements() [with Model = boost::range_detail::IncrementableIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >]’: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/general.hpp:50:47: required from ‘static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed() [with Model = boost::concepts::usage_requirements<boost::range_detail::IncrementableIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > > >]’ 50 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/range/concepts.hpp:136:13: required from ‘struct boost::range_detail::IncrementableIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >’ 92 | &::boost::concepts::requirement_<ModelFnPtr>::failed> \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/range/concepts.hpp:147:16: required from ‘struct boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >’ 147 | struct SinglePassIteratorConcept | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of ‘template<class Model> boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints<Model, (& Model::constraints)>*) [with Model = boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >]’ 32 | inline yes has_constraints_(Model*, wrap_constraints<Model,&Model::constraints>* = 0); | ^~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/has_constraints.hpp:42:5: required from ‘const bool boost::concepts::not_satisfied<boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > > >::value’ 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/has_constraints.hpp:45:51: [ skipping 15 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:282:39: required from ‘boost::xpressive::detail::sequence<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::parse_alternates(FwdIter&, FwdIter) [with FwdIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >]’ 282 | seq = this->parse_sequence(tmp, end); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:213:64: required from ‘boost::xpressive::basic_regex<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile_(FwdIter, FwdIter, flag_type, std::forward_iterator_tag) [with FwdIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 213 | detail::sequence<BidiIter> seq = this->parse_alternates(begin, end); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:121:30: required from ‘boost::xpressive::basic_regex<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile(InputIter, InputIter, flag_type) [with InputIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 121 | return this->compile_(begin, end, flags, category()); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:130:29: required from ‘typename boost::disable_if<boost::is_pointer<InputRange>, boost::xpressive::basic_regex<BidiIter> >::type boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile(const InputRange&, flag_type) [with InputRange = std::__cxx11::basic_string<char>; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; typename boost::disable_if<boost::is_pointer<InputRange>, boost::xpressive::basic_regex<BidiIter> >::type = boost::xpressive::basic_regex<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 130 | return this->compile(boost::begin(pat), boost::end(pat), flags); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/basic_regex.hpp:193:50: required from ‘static boost::xpressive::basic_regex<BidiIter> boost::xpressive::basic_regex<BidiIter>::compile(const InputRange&, flag_type) [with InputRange = std::__cxx11::basic_string<char>; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 193 | return regex_compiler<BidiIter>().compile(pat, flags); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ internal_unigram_sequence_segmentation.cpp:45:55: required from here 45 | if(xp::regex_search(x, xp::sregex::compile(std::string(patterns[i])))) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/usage.hpp:20:48: warning: ‘this’ pointer is null [-Wnonnull] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/usage.hpp:37:7: note: in a call to non-static member function ‘boost::range_detail::IncrementableIteratorConcept<Iterator>::~IncrementableIteratorConcept() [with Iterator = __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> >]’ 37 | ~model() | ^ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/range/concepts.hpp:136:13: note: in expansion of macro ‘BOOST_CONCEPT_USAGE’ 136 | BOOST_CONCEPT_USAGE(IncrementableIteratorConcept) | ^~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/usage.hpp: In instantiation of ‘boost::concepts::usage_requirements<Model>::~usage_requirements() [with Model = boost::EqualityComparable<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >]’: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/general.hpp:50:47: required from ‘static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed() [with Model = boost::concepts::usage_requirements<boost::EqualityComparable<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > > >]’ 50 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept_check.hpp:233:5: required from ‘struct boost::EqualityComparable<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >’ 92 | &::boost::concepts::requirement_<ModelFnPtr>::failed> \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/range/concepts.hpp:147:16: required from ‘struct boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >’ 147 | struct SinglePassIteratorConcept | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of ‘template<class Model> boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints<Model, (& Model::constraints)>*) [with Model = boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >]’ 32 | inline yes has_constraints_(Model*, wrap_constraints<Model,&Model::constraints>* = 0); | ^~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/has_constraints.hpp:42:5: required from ‘const bool boost::concepts::not_satisfied<boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > > >::value’ 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/has_constraints.hpp:45:51: [ skipping 15 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:282:39: required from ‘boost::xpressive::detail::sequence<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::parse_alternates(FwdIter&, FwdIter) [with FwdIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >]’ 282 | seq = this->parse_sequence(tmp, end); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:213:64: required from ‘boost::xpressive::basic_regex<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile_(FwdIter, FwdIter, flag_type, std::forward_iterator_tag) [with FwdIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 213 | detail::sequence<BidiIter> seq = this->parse_alternates(begin, end); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:121:30: required from ‘boost::xpressive::basic_regex<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile(InputIter, InputIter, flag_type) [with InputIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 121 | return this->compile_(begin, end, flags, category()); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:130:29: required from ‘typename boost::disable_if<boost::is_pointer<InputRange>, boost::xpressive::basic_regex<BidiIter> >::type boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile(const InputRange&, flag_type) [with InputRange = std::__cxx11::basic_string<char>; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; typename boost::disable_if<boost::is_pointer<InputRange>, boost::xpressive::basic_regex<BidiIter> >::type = boost::xpressive::basic_regex<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 130 | return this->compile(boost::begin(pat), boost::end(pat), flags); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/basic_regex.hpp:193:50: required from ‘static boost::xpressive::basic_regex<BidiIter> boost::xpressive::basic_regex<BidiIter>::compile(const InputRange&, flag_type) [with InputRange = std::__cxx11::basic_string<char>; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 193 | return regex_compiler<BidiIter>().compile(pat, flags); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ internal_unigram_sequence_segmentation.cpp:45:55: required from here 45 | if(xp::regex_search(x, xp::sregex::compile(std::string(patterns[i])))) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/usage.hpp:20:48: warning: ‘this’ pointer is null [-Wnonnull] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/usage.hpp:37:7: note: in a call to non-static member function ‘boost::EqualityComparable<TT>::~EqualityComparable() [with TT = __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> >]’ 37 | ~model() | ^ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept_check.hpp:233:5: note: in expansion of macro ‘BOOST_CONCEPT_USAGE’ 233 | BOOST_CONCEPT_USAGE(EqualityComparable) { | ^~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/usage.hpp: In instantiation of ‘boost::concepts::usage_requirements<Model>::~usage_requirements() [with Model = boost::Convertible<boost::iterators::random_access_traversal_tag, boost::iterators::single_pass_traversal_tag>]’: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/general.hpp:50:47: required from ‘static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed() [with Model = boost::concepts::usage_requirements<boost::Convertible<boost::iterators::random_access_traversal_tag, boost::iterators::single_pass_traversal_tag> >]’ 50 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept_check.hpp:208:5: required from ‘struct boost::Convertible<boost::iterators::random_access_traversal_tag, boost::iterators::single_pass_traversal_tag>’ 92 | &::boost::concepts::requirement_<ModelFnPtr>::failed> \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of ‘template<class Model> boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints<Model, (& Model::constraints)>*) [with Model = boost::Convertible<boost::iterators::random_access_traversal_tag, boost::iterators::single_pass_traversal_tag>]’ 32 | inline yes has_constraints_(Model*, wrap_constraints<Model,&Model::constraints>* = 0); | ^~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/has_constraints.hpp:42:5: required from ‘const bool boost::concepts::not_satisfied<boost::Convertible<boost::iterators::random_access_traversal_tag, boost::iterators::single_pass_traversal_tag> >::value’ 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/has_constraints.hpp:45:51: required from ‘struct boost::concepts::not_satisfied<boost::Convertible<boost::iterators::random_access_traversal_tag, boost::iterators::single_pass_traversal_tag> >’ 45 | typedef boost::integral_constant<bool, value> type; | ^~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/general.hpp:72:8: [ skipping 19 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:282:39: required from ‘boost::xpressive::detail::sequence<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::parse_alternates(FwdIter&, FwdIter) [with FwdIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >]’ 282 | seq = this->parse_sequence(tmp, end); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:213:64: required from ‘boost::xpressive::basic_regex<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile_(FwdIter, FwdIter, flag_type, std::forward_iterator_tag) [with FwdIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 213 | detail::sequence<BidiIter> seq = this->parse_alternates(begin, end); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:121:30: required from ‘boost::xpressive::basic_regex<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile(InputIter, InputIter, flag_type) [with InputIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 121 | return this->compile_(begin, end, flags, category()); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:130:29: required from ‘typename boost::disable_if<boost::is_pointer<InputRange>, boost::xpressive::basic_regex<BidiIter> >::type boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile(const InputRange&, flag_type) [with InputRange = std::__cxx11::basic_string<char>; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; typename boost::disable_if<boost::is_pointer<InputRange>, boost::xpressive::basic_regex<BidiIter> >::type = boost::xpressive::basic_regex<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 130 | return this->compile(boost::begin(pat), boost::end(pat), flags); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/basic_regex.hpp:193:50: required from ‘static boost::xpressive::basic_regex<BidiIter> boost::xpressive::basic_regex<BidiIter>::compile(const InputRange&, flag_type) [with InputRange = std::__cxx11::basic_string<char>; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 193 | return regex_compiler<BidiIter>().compile(pat, flags); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ internal_unigram_sequence_segmentation.cpp:45:55: required from here 45 | if(xp::regex_search(x, xp::sregex::compile(std::string(patterns[i])))) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/usage.hpp:20:48: warning: ‘this’ pointer is null [-Wnonnull] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/usage.hpp:37:7: note: in a call to non-static member function ‘boost::Convertible<X, Y>::~Convertible() [with X = boost::iterators::random_access_traversal_tag; Y = boost::iterators::single_pass_traversal_tag]’ 37 | ~model() | ^ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept_check.hpp:208:5: note: in expansion of macro ‘BOOST_CONCEPT_USAGE’ 208 | BOOST_CONCEPT_USAGE(Convertible) { | ^~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/usage.hpp: In instantiation of ‘boost::concepts::usage_requirements<Model>::~usage_requirements() [with Model = boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >]’: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/general.hpp:50:47: required from ‘static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed() [with Model = boost::concepts::usage_requirements<boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > > >]’ 50 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/range/concepts.hpp:158:13: required from ‘struct boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >’ 92 | &::boost::concepts::requirement_<ModelFnPtr>::failed> \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of ‘template<class Model> boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints<Model, (& Model::constraints)>*) [with Model = boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > >]’ 32 | inline yes has_constraints_(Model*, wrap_constraints<Model,&Model::constraints>* = 0); | ^~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/has_constraints.hpp:42:5: required from ‘const bool boost::concepts::not_satisfied<boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > > >::value’ 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/has_constraints.hpp:45:51: required from ‘struct boost::concepts::not_satisfied<boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> > > >’ 45 | typedef boost::integral_constant<bool, value> type; | ^~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/general.hpp:72:8: [ skipping 14 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:282:39: required from ‘boost::xpressive::detail::sequence<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::parse_alternates(FwdIter&, FwdIter) [with FwdIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >]’ 282 | seq = this->parse_sequence(tmp, end); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:213:64: required from ‘boost::xpressive::basic_regex<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile_(FwdIter, FwdIter, flag_type, std::forward_iterator_tag) [with FwdIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 213 | detail::sequence<BidiIter> seq = this->parse_alternates(begin, end); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:121:30: required from ‘boost::xpressive::basic_regex<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile(InputIter, InputIter, flag_type) [with InputIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 121 | return this->compile_(begin, end, flags, category()); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:130:29: required from ‘typename boost::disable_if<boost::is_pointer<InputRange>, boost::xpressive::basic_regex<BidiIter> >::type boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile(const InputRange&, flag_type) [with InputRange = std::__cxx11::basic_string<char>; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; typename boost::disable_if<boost::is_pointer<InputRange>, boost::xpressive::basic_regex<BidiIter> >::type = boost::xpressive::basic_regex<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 130 | return this->compile(boost::begin(pat), boost::end(pat), flags); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/basic_regex.hpp:193:50: required from ‘static boost::xpressive::basic_regex<BidiIter> boost::xpressive::basic_regex<BidiIter>::compile(const InputRange&, flag_type) [with InputRange = std::__cxx11::basic_string<char>; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 193 | return regex_compiler<BidiIter>().compile(pat, flags); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ internal_unigram_sequence_segmentation.cpp:45:55: required from here 45 | if(xp::regex_search(x, xp::sregex::compile(std::string(patterns[i])))) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/usage.hpp:20:48: warning: ‘this’ pointer is null [-Wnonnull] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/usage.hpp:37:7: note: in a call to non-static member function ‘boost::range_detail::SinglePassIteratorConcept<Iterator>::~SinglePassIteratorConcept() [with Iterator = __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char> >]’ 37 | ~model() | ^ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/range/concepts.hpp:158:13: note: in expansion of macro ‘BOOST_CONCEPT_USAGE’ 158 | BOOST_CONCEPT_USAGE(SinglePassIteratorConcept) | ^~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/usage.hpp: In instantiation of ‘boost::concepts::usage_requirements<Model>::~usage_requirements() [with Model = boost::CopyConstructible<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >]’: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/general.hpp:50:47: required from ‘static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed() [with Model = boost::concepts::usage_requirements<boost::CopyConstructible<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > > >]’ 50 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept_check.hpp:167:5: required from ‘struct boost::CopyConstructible<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >’ 92 | &::boost::concepts::requirement_<ModelFnPtr>::failed> \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/range/concepts.hpp:125:16: required from ‘struct boost::range_detail::IncrementableIteratorConcept<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >’ 125 | struct IncrementableIteratorConcept : CopyConstructible<Iterator> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/range/concepts.hpp:147:16: required from ‘struct boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >’ 147 | struct SinglePassIteratorConcept | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of ‘template<class Model> boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints<Model, (& Model::constraints)>*) [with Model = boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >]’ 32 | inline yes has_constraints_(Model*, wrap_constraints<Model,&Model::constraints>* = 0); | ^~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/has_constraints.hpp:42:5: [ skipping 16 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:282:39: required from ‘boost::xpressive::detail::sequence<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::parse_alternates(FwdIter&, FwdIter) [with FwdIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >]’ 282 | seq = this->parse_sequence(tmp, end); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:213:64: required from ‘boost::xpressive::basic_regex<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile_(FwdIter, FwdIter, flag_type, std::forward_iterator_tag) [with FwdIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 213 | detail::sequence<BidiIter> seq = this->parse_alternates(begin, end); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:121:30: required from ‘boost::xpressive::basic_regex<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile(InputIter, InputIter, flag_type) [with InputIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 121 | return this->compile_(begin, end, flags, category()); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:130:29: required from ‘typename boost::disable_if<boost::is_pointer<InputRange>, boost::xpressive::basic_regex<BidiIter> >::type boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile(const InputRange&, flag_type) [with InputRange = std::__cxx11::basic_string<char>; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; typename boost::disable_if<boost::is_pointer<InputRange>, boost::xpressive::basic_regex<BidiIter> >::type = boost::xpressive::basic_regex<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 130 | return this->compile(boost::begin(pat), boost::end(pat), flags); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/basic_regex.hpp:193:50: required from ‘static boost::xpressive::basic_regex<BidiIter> boost::xpressive::basic_regex<BidiIter>::compile(const InputRange&, flag_type) [with InputRange = std::__cxx11::basic_string<char>; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 193 | return regex_compiler<BidiIter>().compile(pat, flags); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ internal_unigram_sequence_segmentation.cpp:45:55: required from here 45 | if(xp::regex_search(x, xp::sregex::compile(std::string(patterns[i])))) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/usage.hpp:20:48: warning: ‘this’ pointer is null [-Wnonnull] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/usage.hpp:37:7: note: in a call to non-static member function ‘boost::CopyConstructible<TT>::~CopyConstructible() [with TT = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >]’ 37 | ~model() | ^ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept_check.hpp:167:5: note: in expansion of macro ‘BOOST_CONCEPT_USAGE’ 167 | BOOST_CONCEPT_USAGE(CopyConstructible) { | ^~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/usage.hpp: In instantiation of ‘boost::concepts::usage_requirements<Model>::~usage_requirements() [with Model = boost::range_detail::IncrementableIteratorConcept<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >]’: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/general.hpp:50:47: required from ‘static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed() [with Model = boost::concepts::usage_requirements<boost::range_detail::IncrementableIteratorConcept<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > > >]’ 50 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/range/concepts.hpp:136:13: required from ‘struct boost::range_detail::IncrementableIteratorConcept<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >’ 92 | &::boost::concepts::requirement_<ModelFnPtr>::failed> \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/range/concepts.hpp:147:16: required from ‘struct boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >’ 147 | struct SinglePassIteratorConcept | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of ‘template<class Model> boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints<Model, (& Model::constraints)>*) [with Model = boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >]’ 32 | inline yes has_constraints_(Model*, wrap_constraints<Model,&Model::constraints>* = 0); | ^~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/has_constraints.hpp:42:5: required from ‘const bool boost::concepts::not_satisfied<boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > > >::value’ 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/has_constraints.hpp:45:51: [ skipping 15 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:282:39: required from ‘boost::xpressive::detail::sequence<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::parse_alternates(FwdIter&, FwdIter) [with FwdIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >]’ 282 | seq = this->parse_sequence(tmp, end); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:213:64: required from ‘boost::xpressive::basic_regex<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile_(FwdIter, FwdIter, flag_type, std::forward_iterator_tag) [with FwdIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 213 | detail::sequence<BidiIter> seq = this->parse_alternates(begin, end); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:121:30: required from ‘boost::xpressive::basic_regex<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile(InputIter, InputIter, flag_type) [with InputIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 121 | return this->compile_(begin, end, flags, category()); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:130:29: required from ‘typename boost::disable_if<boost::is_pointer<InputRange>, boost::xpressive::basic_regex<BidiIter> >::type boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile(const InputRange&, flag_type) [with InputRange = std::__cxx11::basic_string<char>; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; typename boost::disable_if<boost::is_pointer<InputRange>, boost::xpressive::basic_regex<BidiIter> >::type = boost::xpressive::basic_regex<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 130 | return this->compile(boost::begin(pat), boost::end(pat), flags); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/basic_regex.hpp:193:50: required from ‘static boost::xpressive::basic_regex<BidiIter> boost::xpressive::basic_regex<BidiIter>::compile(const InputRange&, flag_type) [with InputRange = std::__cxx11::basic_string<char>; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 193 | return regex_compiler<BidiIter>().compile(pat, flags); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ internal_unigram_sequence_segmentation.cpp:45:55: required from here 45 | if(xp::regex_search(x, xp::sregex::compile(std::string(patterns[i])))) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/usage.hpp:20:48: warning: ‘this’ pointer is null [-Wnonnull] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/usage.hpp:37:7: note: in a call to non-static member function ‘boost::range_detail::IncrementableIteratorConcept<Iterator>::~IncrementableIteratorConcept() [with Iterator = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >]’ 37 | ~model() | ^ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/range/concepts.hpp:136:13: note: in expansion of macro ‘BOOST_CONCEPT_USAGE’ 136 | BOOST_CONCEPT_USAGE(IncrementableIteratorConcept) | ^~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/usage.hpp: In instantiation of ‘boost::concepts::usage_requirements<Model>::~usage_requirements() [with Model = boost::EqualityComparable<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >]’: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/general.hpp:50:47: required from ‘static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed() [with Model = boost::concepts::usage_requirements<boost::EqualityComparable<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > > >]’ 50 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept_check.hpp:233:5: required from ‘struct boost::EqualityComparable<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >’ 92 | &::boost::concepts::requirement_<ModelFnPtr>::failed> \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/range/concepts.hpp:147:16: required from ‘struct boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >’ 147 | struct SinglePassIteratorConcept | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of ‘template<class Model> boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints<Model, (& Model::constraints)>*) [with Model = boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >]’ 32 | inline yes has_constraints_(Model*, wrap_constraints<Model,&Model::constraints>* = 0); | ^~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/has_constraints.hpp:42:5: required from ‘const bool boost::concepts::not_satisfied<boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > > >::value’ 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/has_constraints.hpp:45:51: [ skipping 15 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:282:39: required from ‘boost::xpressive::detail::sequence<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::parse_alternates(FwdIter&, FwdIter) [with FwdIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >]’ 282 | seq = this->parse_sequence(tmp, end); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:213:64: required from ‘boost::xpressive::basic_regex<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile_(FwdIter, FwdIter, flag_type, std::forward_iterator_tag) [with FwdIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 213 | detail::sequence<BidiIter> seq = this->parse_alternates(begin, end); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:121:30: required from ‘boost::xpressive::basic_regex<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile(InputIter, InputIter, flag_type) [with InputIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 121 | return this->compile_(begin, end, flags, category()); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:130:29: required from ‘typename boost::disable_if<boost::is_pointer<InputRange>, boost::xpressive::basic_regex<BidiIter> >::type boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile(const InputRange&, flag_type) [with InputRange = std::__cxx11::basic_string<char>; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; typename boost::disable_if<boost::is_pointer<InputRange>, boost::xpressive::basic_regex<BidiIter> >::type = boost::xpressive::basic_regex<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 130 | return this->compile(boost::begin(pat), boost::end(pat), flags); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/basic_regex.hpp:193:50: required from ‘static boost::xpressive::basic_regex<BidiIter> boost::xpressive::basic_regex<BidiIter>::compile(const InputRange&, flag_type) [with InputRange = std::__cxx11::basic_string<char>; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 193 | return regex_compiler<BidiIter>().compile(pat, flags); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ internal_unigram_sequence_segmentation.cpp:45:55: required from here 45 | if(xp::regex_search(x, xp::sregex::compile(std::string(patterns[i])))) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/usage.hpp:20:48: warning: ‘this’ pointer is null [-Wnonnull] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/usage.hpp:37:7: note: in a call to non-static member function ‘boost::EqualityComparable<TT>::~EqualityComparable() [with TT = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >]’ 37 | ~model() | ^ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept_check.hpp:233:5: note: in expansion of macro ‘BOOST_CONCEPT_USAGE’ 233 | BOOST_CONCEPT_USAGE(EqualityComparable) { | ^~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/usage.hpp: In instantiation of ‘boost::concepts::usage_requirements<Model>::~usage_requirements() [with Model = boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >]’: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/general.hpp:50:47: required from ‘static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed() [with Model = boost::concepts::usage_requirements<boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > > >]’ 50 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/range/concepts.hpp:158:13: required from ‘struct boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >’ 92 | &::boost::concepts::requirement_<ModelFnPtr>::failed> \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of ‘template<class Model> boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints<Model, (& Model::constraints)>*) [with Model = boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >]’ 32 | inline yes has_constraints_(Model*, wrap_constraints<Model,&Model::constraints>* = 0); | ^~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/has_constraints.hpp:42:5: required from ‘const bool boost::concepts::not_satisfied<boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > > >::value’ 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/has_constraints.hpp:45:51: required from ‘struct boost::concepts::not_satisfied<boost::range_detail::SinglePassIteratorConcept<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > > >’ 45 | typedef boost::integral_constant<bool, value> type; | ^~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/general.hpp:72:8: [ skipping 14 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:282:39: required from ‘boost::xpressive::detail::sequence<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::parse_alternates(FwdIter&, FwdIter) [with FwdIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >]’ 282 | seq = this->parse_sequence(tmp, end); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:213:64: required from ‘boost::xpressive::basic_regex<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile_(FwdIter, FwdIter, flag_type, std::forward_iterator_tag) [with FwdIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 213 | detail::sequence<BidiIter> seq = this->parse_alternates(begin, end); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:121:30: required from ‘boost::xpressive::basic_regex<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile(InputIter, InputIter, flag_type) [with InputIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 121 | return this->compile_(begin, end, flags, category()); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:130:29: required from ‘typename boost::disable_if<boost::is_pointer<InputRange>, boost::xpressive::basic_regex<BidiIter> >::type boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile(const InputRange&, flag_type) [with InputRange = std::__cxx11::basic_string<char>; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; typename boost::disable_if<boost::is_pointer<InputRange>, boost::xpressive::basic_regex<BidiIter> >::type = boost::xpressive::basic_regex<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 130 | return this->compile(boost::begin(pat), boost::end(pat), flags); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/basic_regex.hpp:193:50: required from ‘static boost::xpressive::basic_regex<BidiIter> boost::xpressive::basic_regex<BidiIter>::compile(const InputRange&, flag_type) [with InputRange = std::__cxx11::basic_string<char>; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 193 | return regex_compiler<BidiIter>().compile(pat, flags); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ internal_unigram_sequence_segmentation.cpp:45:55: required from here 45 | if(xp::regex_search(x, xp::sregex::compile(std::string(patterns[i])))) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/usage.hpp:20:48: warning: ‘this’ pointer is null [-Wnonnull] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/usage.hpp:37:7: note: in a call to non-static member function ‘boost::range_detail::SinglePassIteratorConcept<Iterator>::~SinglePassIteratorConcept() [with Iterator = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >]’ 37 | ~model() | ^ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/range/concepts.hpp:158:13: note: in expansion of macro ‘BOOST_CONCEPT_USAGE’ 158 | BOOST_CONCEPT_USAGE(SinglePassIteratorConcept) | ^~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/usage.hpp: In instantiation of ‘boost::concepts::usage_requirements<Model>::~usage_requirements() [with Model = boost::SinglePassRangeConcept<std::__cxx11::basic_string<char> >]’: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/general.hpp:50:47: required from ‘static void boost::concepts::requirement<boost::concepts::failed************ Model::************>::failed() [with Model = boost::concepts::usage_requirements<boost::SinglePassRangeConcept<std::__cxx11::basic_string<char> > >]’ 50 | static void failed() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/range/concepts.hpp:284:9: required from ‘struct boost::SinglePassRangeConcept<std::__cxx11::basic_string<char> >’ 92 | &::boost::concepts::requirement_<ModelFnPtr>::failed> \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/has_constraints.hpp:32:62: required by substitution of ‘template<class Model> boost::concepts::detail::yes boost::concepts::detail::has_constraints_(Model*, wrap_constraints<Model, (& Model::constraints)>*) [with Model = boost::SinglePassRangeConcept<std::__cxx11::basic_string<char> >]’ 32 | inline yes has_constraints_(Model*, wrap_constraints<Model,&Model::constraints>* = 0); | ^~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/has_constraints.hpp:42:5: required from ‘const bool boost::concepts::not_satisfied<boost::SinglePassRangeConcept<std::__cxx11::basic_string<char> > >::value’ 44 | , value = sizeof( detail::has_constraints_((Model*)0) ) == sizeof(detail::yes) ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/has_constraints.hpp:45:51: required from ‘struct boost::concepts::not_satisfied<boost::SinglePassRangeConcept<std::__cxx11::basic_string<char> > >’ 45 | typedef boost::integral_constant<bool, value> type; | ^~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/detail/general.hpp:72:8: [ skipping 9 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:282:39: required from ‘boost::xpressive::detail::sequence<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::parse_alternates(FwdIter&, FwdIter) [with FwdIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >]’ 282 | seq = this->parse_sequence(tmp, end); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:213:64: required from ‘boost::xpressive::basic_regex<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile_(FwdIter, FwdIter, flag_type, std::forward_iterator_tag) [with FwdIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 213 | detail::sequence<BidiIter> seq = this->parse_alternates(begin, end); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:121:30: required from ‘boost::xpressive::basic_regex<BidiIter> boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile(InputIter, InputIter, flag_type) [with InputIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 121 | return this->compile_(begin, end, flags, category()); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/regex_compiler.hpp:130:29: required from ‘typename boost::disable_if<boost::is_pointer<InputRange>, boost::xpressive::basic_regex<BidiIter> >::type boost::xpressive::regex_compiler<BidiIter, RegexTraits, CompilerTraits>::compile(const InputRange&, flag_type) [with InputRange = std::__cxx11::basic_string<char>; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; RegexTraits = boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> >; CompilerTraits = boost::xpressive::compiler_traits<boost::xpressive::regex_traits<char, boost::xpressive::cpp_regex_traits<char> > >; typename boost::disable_if<boost::is_pointer<InputRange>, boost::xpressive::basic_regex<BidiIter> >::type = boost::xpressive::basic_regex<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 130 | return this->compile(boost::begin(pat), boost::end(pat), flags); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/xpressive/basic_regex.hpp:193:50: required from ‘static boost::xpressive::basic_regex<BidiIter> boost::xpressive::basic_regex<BidiIter>::compile(const InputRange&, flag_type) [with InputRange = std::__cxx11::basic_string<char>; BidiIter = __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >; flag_type = boost::xpressive::regex_constants::syntax_option_type]’ 193 | return regex_compiler<BidiIter>().compile(pat, flags); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ internal_unigram_sequence_segmentation.cpp:45:55: required from here 45 | if(xp::regex_search(x, xp::sregex::compile(std::string(patterns[i])))) { | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/usage.hpp:20:48: warning: ‘this’ pointer is null [-Wnonnull] 20 | ~usage_requirements() { ((Model*)0)->~Model(); } | ~~~~~~~~~~~~~~~~~~~^~ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/concept/usage.hpp:37:7: note: in a call to non-static member function ‘boost::SinglePassRangeConcept<T>::~SinglePassRangeConcept() [with T = std::__cxx11::basic_string<char>]’ 37 | ~model() | ^ /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/BH/include/boost/range/concepts.hpp:284:9: note: in expansion of macro ‘BOOST_CONCEPT_USAGE’ 284 | BOOST_CONCEPT_USAGE(SinglePassRangeConcept) | ^~~~~~~~~~~~~~~~~~~ g++-14 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -Wl,-O1 -o NUSS.so RcppExports.o internal_unigram_sequence_segmentation.o -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -lR make[1]: Leaving directory '/tmp/Rtmpj3R3fv/R.INSTALL124591836b104/NUSS/src' make[1]: Entering directory '/tmp/Rtmpj3R3fv/R.INSTALL124591836b104/NUSS/src' make[1]: Leaving directory '/tmp/Rtmpj3R3fv/R.INSTALL124591836b104/NUSS/src' installing to /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/00LOCK-NUSS/00new/NUSS/libs ** R ** data *** moving datasets to lazyload DB ** byte-compile and prepare package for lazy loading ** help *** installing help indices ** building package indices ** testing if installed package can be loaded from temporary location ** checking absolute paths in shared objects and dynamic libraries ** testing if installed package can be loaded from final location ** testing if installed package keeps a record of temporary installation path * DONE (NUSS)