[tim-janik/beast] Compile error on Fedora 28, gcc 8.1.1 (aida.hh) (#72)



On Fedora 28, gcc 8.1.1, I getting the following compiling error

../aidacc/aida.hh: In instantiation of ‘struct Aida::Has__accept__<std::__cxx11::basic_string<char>, Bse::PspecVisitor, void>’:
../aidacc/visitor.hh:62:23:   required by substitution of ‘template<class A, typename std::enable_if<((((! Aida::Has__accept__<A, Bse::PspecVisitor, void>::value) && (! std::is_base_of<std::__cxx11::basic_string<char>, T>::value)) && (! Aida::DerivesVector<Vector>::value)) && std::is_class<A>::value), bool>::type <anonymous> > void Aida::VisitorDispatcher<Bse::PspecVisitor>::operator()<A, <enumerator> >(A&, Aida::VisitorDispatcher<Bse::PspecVisitor>::Name) [with A = std::__cxx11::basic_string<char>; typename std::enable_if<((((! Aida::Has__accept__<A, Bse::PspecVisitor, void>::value) && (! std::is_base_of<std::__cxx11::basic_string<char>, T>::value)) && (! Aida::DerivesVector<Vector>::value)) && std::is_class<A>::value), bool>::type <anonymous> = <missing>]’
bstapi_interfaces.hh:221:15:   required from ‘void Bst::SrvT_GConfig::__accept__(Visitor&) [with Visitor = Bse::PspecVisitor]’
../sfi/sfivisitors.hh:306:3:   required from ‘SfiRecFields Bse::sfi_pspecs_rec_fields_from_visitable(Visitable&) [with Visitable = Bst::SrvT_GConfig]’
bstgconfig.cc:23:90:   required from here
../aidacc/aida.hh:166:73: error: ‘class std::__cxx11::basic_string<char>’ has no member named ‘__accept__’
 struct Has__accept__<T, V, void_t< decltype (std::declval<T>().template __accept__<V> (*(V*) NULL)) >> : std::true_type {};
                                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]