Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

over 5 years ago

Language

C++

Compiler

clang 9.0.0

Options
Warnings
Boost 1.71.0
C++2a(GNU)
no pedantic

Author

anonymous

over 5 years ago

$ clang++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.71.0/clang-9.0.0/include -std=gnu++2a
In file included from prog.cc:1:
In file included from /opt/wandbox/boost-1.71.0/clang-9.0.0/include/boost/icl/interval_set.hpp:14:
In file included from /opt/wandbox/boost-1.71.0/clang-9.0.0/include/boost/icl/interval_base_set.hpp:24:
In file included from /opt/wandbox/boost-1.71.0/clang-9.0.0/include/boost/icl/associative_interval_container.hpp:13:
In file included from /opt/wandbox/boost-1.71.0/clang-9.0.0/include/boost/icl/concept/joinable.hpp:12:
/opt/wandbox/boost-1.71.0/clang-9.0.0/include/boost/icl/concept/interval.hpp:943:31: error: no matching function for call to 'last_next'
    return domain_equal<Type>(last_next(left), first(right));
                              ^~~~~~~~~
/opt/wandbox/boost-1.71.0/clang-9.0.0/include/boost/icl/detail/interval_set_algo.hpp:229:12: note: in instantiation of function template specialization 'boost::icl::touches<boost::numeric::interval<double, boost::numeric::interval_lib::policies<boost::numeric::interval_lib::rounded_math<double>, boost::numeric::interval_lib::checking_strict<double> > > >' requested here
    return touches(key_value<Type>(some), key_value<Type>(next)) 
           ^
/opt/wandbox/boost-1.71.0/clang-9.0.0/include/boost/icl/detail/interval_set_algo.hpp:283:8: note: in instantiation of function template specialization 'boost::icl::segmental::joinable<boost::icl::interval_set<double, std::less, boost::numeric::interval<double, boost::numeric::interval_lib::policies<boost::numeric::interval_lib::rounded_math<double>, boost::numeric::interval_lib::checking_strict<double> > >, std::allocator> >' requested here
    if(joinable(object, --pred_, it_)) 
       ^
/opt/wandbox/boost-1.71.0/clang-9.0.0/include/boost/icl/detail/interval_set_algo.hpp:309:12: note: in instantiation of function template specialization 'boost::icl::segmental::join_left<boost::icl::interval_set<double, std::less, boost::numeric::interval<double, boost::numeric::interval_lib::policies<boost::numeric::interval_lib::rounded_math<double>, boost::numeric::interval_lib::checking_strict<double> > >, std::allocator> >' requested here
           join_left (object, it_); 
           ^
/opt/wandbox/boost-1.71.0/clang-9.0.0/include/boost/icl/interval_set.hpp:175:27: note: in instantiation of function template specialization 'boost::icl::segmental::join_neighbours<boost::icl::interval_set<double, std::less, boost::numeric::interval<double, boost::numeric::interval_lib::policies<boost::numeric::interval_lib::rounded_math<double>, boost::numeric::interval_lib::checking_strict<double> > >, std::allocator> >' requested here
        return segmental::join_neighbours(*this, it_); 
                          ^
/opt/wandbox/boost-1.71.0/clang-9.0.0/include/boost/icl/interval_base_set.hpp:509:24: note: in instantiation of member function 'boost::icl::interval_set<double, std::less, boost::numeric::interval<double, boost::numeric::interval_lib::policies<boost::numeric::interval_lib::rounded_math<double>, boost::numeric::interval_lib::checking_strict<double> > >, std::allocator>::handle_inserted' requested here
        return that()->handle_inserted(insertion.first);
                       ^
/opt/wandbox/boost-1.71.0/clang-9.0.0/include/boost/icl/interval_base_set.hpp:258:9: note: in instantiation of member function 'boost::icl::interval_base_set<boost::icl::interval_set<double, std::less, boost::numeric::interval<double, boost::numeric::interval_lib::policies<boost::numeric::interval_lib::rounded_math<double>, boost::numeric::interval_lib::checking_strict<double> > >, std::allocator>, double, less, boost::numeric::interval<double, boost::numeric::interval_lib::policies<boost::numeric::interval_lib::rounded_math<double>, boost::numeric::interval_lib::checking_strict<double> > >, allocator>::_add' requested here
        _add(inter_val);
        ^
/opt/wandbox/boost-1.71.0/clang-9.0.0/include/boost/icl/interval_base_set.hpp:295:16: note: in instantiation of member function 'boost::icl::interval_base_set<boost::icl::interval_set<double, std::less, boost::numeric::interval<double, boost::numeric::interval_lib::policies<boost::numeric::interval_lib::rounded_math<double>, boost::numeric::interval_lib::checking_strict<double> > >, std::allocator>, double, less, boost::numeric::interval<double, boost::numeric::interval_lib::policies<boost::numeric::interval_lib::rounded_math<double>, boost::numeric::interval_lib::checking_strict<double> > >, allocator>::add' requested here
        return add(inter_val);
               ^
prog.cc:38:10: note: in instantiation of member function 'boost::icl::interval_base_set<boost::icl::interval_set<double, std::less, boost::numeric::interval<double, boost::numeric::interval_lib::policies<boost::numeric::interval_lib::rounded_math<double>, boost::numeric::interval_lib::checking_strict<double> > >, std::allocator>, double, less, boost::numeric::interval<double, boost::numeric::interval_lib::policies<boost::numeric::interval_lib::rounded_math<double>, boost::numeric::interval_lib::checking_strict<double> > >, allocator>::insert' requested here
    iSet.insert(i);
         ^
/opt/wandbox/boost-1.71.0/clang-9.0.0/include/boost/icl/concept/interval.hpp:447:12: note: candidate template ignored: disabled by 'enable_if' [with Type = boost::numeric::interval<double, boost::numeric::interval_lib::policies<boost::numeric::interval_lib::rounded_math<double>, boost::numeric::interval_lib::checking_strict<double> > >]
enable_if< mpl::and_< mpl::or_<is_static_left_open<Type>, is_static_closed<Type> >
           ^
/opt/wandbox/boost-1.71.0/clang-9.0.0/include/boost/icl/concept/interval.hpp:457:12: note: candidate template ignored: disabled by 'enable_if' [with Type = boost::numeric::interval<double, boost::numeric::interval_lib::policies<boost::numeric::interval_lib::rounded_math<double>, boost::numeric::interval_lib::checking_strict<double> > >]
enable_if< mpl::and_< mpl::or_<is_static_right_open<Type>, is_static_open<Type> >
           ^
/opt/wandbox/boost-1.71.0/clang-9.0.0/include/boost/icl/concept/interval.hpp:467:27: note: candidate template ignored: disabled by 'enable_if' [with Type = boost::numeric::interval<double, boost::numeric::interval_lib::policies<boost::numeric::interval_lib::rounded_math<double>, boost::numeric::interval_lib::checking_strict<double> > >]
inline typename enable_if<is_discrete_interval<Type>,
                          ^
1 error generated.
Exit Code:
1