Code Monkey home page Code Monkey logo

swift's People

Contributors

arnt avatar barun511 avatar brucestephens avatar catalinb avatar danielbcs avatar devurandom avatar ephraim avatar intosi avatar isodeltd avatar jankaluza avatar jubalh avatar kev avatar machekku avatar mvisode avatar nickisode avatar pielas avatar remko avatar scrool avatar tarun018 avatar tfar avatar thdouk avatar vitalyster avatar vladvoic avatar yblein avatar zash avatar

swift's Issues

Compilation fails with >=boost-1.83

Thanks for your offer to help here. This is the build log, which swifen fails to compile after upgrading to boost-1.83.

As the log is too long, I updated the full build.log here: https://pastebin.com/v5mV0kGG

Small snippet:
In file included from /usr/include/boost/function/function_base.hpp:15, from /usr/include/boost/function/detail/prologue.hpp:18, from /usr/include/boost/function.hpp:30, from /usr/include/boost/signals2/signal.hpp:19, from /usr/include/boost/signals2.hpp:19: /usr/include/boost/function_equal.hpp: In instantiation of 'bool boost::function_equal_impl(const F&, const G&, long int) [with F = reference_wrapper<signals2::signal<void(std::shared_ptr<Swift::Message>)> >; G = reference_wrapper<signals2::signal<void(std::shared_ptr<Swift::Message>)> >]': /usr/include/boost/function_equal.hpp:24:31: required from 'bool boost::function_equal(const F&, const G&) [with F = reference_wrapper<signals2::signal<void(std::shared_ptr<Swift::Message>)> >; G = reference_wrapper<signals2::signal<void(std::shared_ptr<Swift::Message>)> >]' /usr/include/boost/function/function_base.hpp:659:30: required from 'bool boost::function_base::contains(const F&) const [with F = boost::reference_wrapper<boost::signals2::signal<void(std::shared_ptr<Swift::Message>)> >]' /usr/include/boost/signals2/detail/signal_template.hpp:530:54: required from 'void boost::signals2::detail::signal_impl<R(Args ...), Combiner, Group, GroupCompare, SlotFunction, ExtendedSlotFunction, Mutex>::do_disconnect(const T&, mpl_::bool_<false>) [with T = boost::reference_wrapper<boost::signals2::signal<void(std::shared_ptr<Swift::Message>)> >; Combiner = boost::signals2::optional_last_value<void>; Group = int; GroupCompare = std::less<int>; SlotFunction = boost::function<void(std::shared_ptr<Swift::Message>)>; ExtendedSlotFunction = boost::function<void(const boost::signals2::connection&, std::shared_ptr<Swift::Message>)>; Mutex = boost::signals2::mutex; R = void; Args = {std::shared_ptr<Swift::Message>}]' /usr/include/boost/signals2/detail/signal_template.hpp:222:24: required from 'void boost::signals2::detail::signal_impl<R(Args ...), Combiner, Group, GroupCompare, SlotFunction, ExtendedSlotFunction, Mutex>::disconnect(const T&) [with T = boost::reference_wrapper<boost::signals2::signal<void(std::shared_ptr<Swift::Message>)> >; Combiner = boost::signals2::optional_last_value<void>; Group = int; GroupCompare = std::less<int>; SlotFunction = boost::function<void(std::shared_ptr<Swift::Message>)>; ExtendedSlotFunction = boost::function<void(const boost::signals2::connection&, std::shared_ptr<Swift::Message>)>; Mutex = boost::signals2::mutex; R = void; Args = {std::shared_ptr<Swift::Message>}]' /usr/include/boost/signals2/detail/signal_template.hpp:718:29: required from 'void boost::signals2::signal<R(Args ...), Combiner, Group, GroupCompare, SlotFunction, ExtendedSlotFunction, Mutex>::disconnect(const T&) [with T = boost::reference_wrapper<boost::signals2::signal<void(std::shared_ptr<Swift::Message>)> >; Combiner = boost::signals2::optional_last_value<void>; Group = int; GroupCompare = std::less<int>; SlotFunction = boost::function<void(std::shared_ptr<Swift::Message>)>; ExtendedSlotFunction = boost::function<void(const boost::signals2::connection&, std::shared_ptr<Swift::Message>)>; Mutex = boost::signals2::mutex; R = void; Args = {std::shared_ptr<Swift::Message>}]' Swiften/Component/CoreComponent.cpp:41:49: required from here /usr/include/boost/function_equal.hpp:17:14: error: no match for 'operator==' (operand types are 'const boost::reference_wrapper<boost::signals2::signal<void(std::shared_ptr<Swift::Message>)> >' and 'const boost::reference_wrapper<boost::signals2::signal<void(std::shared_ptr<Swift::Message>)> >') 17 | { return f == g; } | ~~^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:888:40: note: candidate: 'template<class T, class U> bool boost::operator==(const shared_ptr<X>&, const shared_ptr<U>&)' 888 | template<class T, class U> inline bool operator==(shared_ptr<T> const & a, shared_ptr<U> const & b) BOOST_SP_NOEXCEPT | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:888:40: note: template argument deduction/substitution failed: /usr/include/boost/function_equal.hpp:17:14: note: 'const boost::reference_wrapper<boost::signals2::signal<void(std::shared_ptr<Swift::Message>)> >' is not derived from 'const boost::shared_ptr<X>' 17 | { return f == g; } | ~~^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:911:31: note: candidate: 'template<class T> bool boost::operator==(const shared_ptr<X>&, detail::sp_nullptr_t)' 911 | template<class T> inline bool operator==( shared_ptr<T> const & p, boost::detail::sp_nullptr_t ) BOOST_SP_NOEXCEPT | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:911:31: note: template argument deduction/substitution failed: /usr/include/boost/function_equal.hpp:17:14: note: 'const boost::reference_wrapper<boost::signals2::signal<void(std::shared_ptr<Swift::Message>)> >' is not derived from 'const boost::shared_ptr<X>' 17 | { return f == g; } | ~~^~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:916:31: note: candidate: 'template<class T> bool boost::operator==(detail::sp_nullptr_t, const shared_ptr<X>&)' 916 | template<class T> inline bool operator==( boost::detail::sp_nullptr_t, shared_ptr<T> const & p ) BOOST_SP_NOEXCEPT | ^~~~~~~~ /usr/include/boost/smart_ptr/shared_ptr.hpp:916:31: note: template argument deduction/substitution failed: /usr/include/boost/function_equal.hpp:17:14: note: 'const boost::reference_wrapper<boost::signals2::signal<void(std::shared_ptr<Swift::Message>)> >' is not derived from 'const boost::shared_ptr<X>' 17 | { return f == g; } | ~~^~~~

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.