FairRootGroup / FairMQ

C++ Message Queuing Library and Framework
GNU Lesser General Public License v3.0
87 stars 34 forks source link

fairmq/tools/CppSTL.h:27:31: error: no matching function for call ... #307

Closed dennisklein closed 4 years ago

dennisklein commented 4 years ago

https://cdash.gsi.de/testDetails.php?test=7150233&build=246481

     183    In file included from /tmp/jenkins-FairRootGroup-FairSoft-PR-318-1.s1s/stage/alfaci/spack-stage-fairmq-develop-z2uz6uxptrf2hdxvk26y4jmqcxych5b6/spack-src/fairmq/plugins/PMIx/PMIxCommands.h:16,
     184                     from /tmp/jenkins-FairRootGroup-FairSoft-PR-318-1.s1s/stage/alfaci/spack-stage-fairmq-develop-z2uz6uxptrf2hdxvk26y4jmqcxych5b6/spack-src/fairmq/plugins/PMIx/PMIxPlugin.h:13,
     185                     from /tmp/jenkins-FairRootGroup-FairSoft-PR-318-1.s1s/stage/alfaci/spack-stage-fairmq-develop-z2uz6uxptrf2hdxvk26y4jmqcxych5b6/spack-src/fairmq/plugins/PMIx/PMIxPlugin.cxx:9:
     186    /tmp/jenkins-FairRootGroup-FairSoft-PR-318-1.s1s/stage/alfaci/spack-stage-fairmq-develop-z2uz6uxptrf2hdxvk26y4jmqcxych5b6/spack-src/fairmq/tools/CppSTL.h: In instantiation of 'std::unique_ptr<_Tp> fair::mq::tools::make_unique(Args&& ...) [with T = fair::mq::sdk::cmd::TransitionStatus; Args = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, int, fair::mq::sdk::cmd::Result, fair::mq::Transition&}]':
     187    /tmp/jenkins-FairRootGroup-FairSoft-PR-318-1.s1s/stage/alfaci/spack-stage-fairmq-develop-z2uz6uxptrf2hdxvk26y4jmqcxych5b6/spack-src/fairmq/sdk/commands/Commands.h:357:43:   required from 'std::unique_ptr<fair::mq::sdk::cmd::Cmd> fair::mq::sdk::cmd::make(Args&& ...) [with C = fair::mq::sdk::cmd::TransitionStatus; Args = {std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, int, fair::mq::sdk::cmd::Result, fair::mq::Transition&}]'
     188    /tmp/jenkins-FairRootGroup-FairSoft-PR-318-1.s1s/stage/alfaci/spack-stage-fairmq-develop-z2uz6uxptrf2hdxvk26y4jmqcxych5b6/spack-src/fairmq/plugins/PMIx/PMIxPlugin.cxx:151:93:   required from here
  >> 189    /tmp/jenkins-FairRootGroup-FairSoft-PR-318-1.s1s/stage/alfaci/spack-stage-fairmq-develop-z2uz6uxptrf2hdxvk26y4jmqcxych5b6/spack-src/fairmq/tools/CppSTL.h:27:31: error: no matching function for call to 'fair::mq::sdk::cmd::TransitionStatus::TransitionStatus(std::__cxx11::basic_string<char>&, int, fair::mq::sdk::cmd::Result, fair::mq::Transition&)'
     190       27 |     return std::unique_ptr<T>(new T(std::forward<Args>(args)...));
     191          |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     192    In file included from /tmp/jenkins-FairRootGroup-FairSoft-PR-318-1.s1s/stage/alfaci/spack-stage-fairmq-develop-z2uz6uxptrf2hdxvk26y4jmqcxych5b6/spack-src/fairmq/plugins/PMIx/PMIxPlugin.cxx:11:
     193    /tmp/jenkins-FairRootGroup-FairSoft-PR-318-1.s1s/stage/alfaci/spack-stage-fairmq-develop-z2uz6uxptrf2hdxvk26y4jmqcxych5b6/spack-src/fairmq/sdk/commands/Commands.h:191:14: note: candidate: 'fair::mq::sdk::cmd::TransitionStatus::TransitionStatus(const string&, uint64_t,fair::mq::sdk::cmd::Result, fair::mq::Transition, fair::mq::State)'
     194      191 |     explicit TransitionStatus(const std::string& deviceId, const uint64_t taskId, const Result result, const Transition transition, State currentState)
     195          |              ^~~~~~~~~~~~~~~~
rbx commented 4 years ago

PMIx plugin was not updated with the recent SDK Commands change, will push a fix in a bit.