Skip to content

Conversation

@marques-bruno
Copy link
Member

No description provided.

@jnbrunet
Copy link
Contributor

jnbrunet commented Aug 4, 2020

Looks like the build is failing. Does not seems to be related to your PR, do you know what's going on?

Plugin/src/SofaPython3/Prefab.cpp:61:65: error: no match for ‘operator=’ (operand types are ‘DeprecatedAndRemoved’ and ‘sofa::core::objectmodel::ComponentState’)
     m_componentstate = sofa::core::objectmodel::ComponentState::Valid;
                                                                 ^~~~~
In file included from /opt/sofa/include/SofaFramework/sofa/core/objectmodel/BaseContext.h:25:0,
                 from /opt/sofa/include/SofaFramework/sofa/core/objectmodel/BaseObject.h:25,
                 from /opt/sofa/include/SofaFramework/sofa/core/objectmodel/Context.h:25,
                 from /opt/sofa/include/SofaFramework/sofa/simulation/Node.h:28,
                 from /opt/sofa/include/SofaSimulation/SofaSimulationGraph/DAGNode.h:26,
                 from Plugin/src/SofaPython3/Prefab.h:2,
                 from Plugin/src/SofaPython3/Prefab.cpp:1:
/opt/sofa/include/SofaFramework/sofa/core/objectmodel/Base.h:102:7: note: candidate: constexpr DeprecatedAndRemoved& DeprecatedAndRemoved::operator=(const DeprecatedAndRemoved&)
 class DeprecatedAndRemoved {};
       ^~~~~~~~~~~~~~~~~~~~
/opt/sofa/include/SofaFramework/sofa/core/objectmodel/Base.h:102:7: note:   no known conversion for argument 1 from ‘sofa::core::objectmodel::ComponentState’ to ‘const DeprecatedAndRemoved&’
/opt/sofa/include/SofaFramework/sofa/core/objectmodel/Base.h:102:7: note: candidate: constexpr DeprecatedAndRemoved& DeprecatedAndRemoved::operator=(DeprecatedAndRemoved&&)
/opt/sofa/include/SofaFramework/sofa/core/objectmodel/Base.h:102:7: note:   no known conversion for argument 1 from ‘sofa::core::objectmodel::ComponentState’ to ‘DeprecatedAndRemoved&&’

@marques-bruno
Copy link
Member Author

Looks like the build is failing. Does not seems to be related to your PR, do you know what's going on?

Plugin/src/SofaPython3/Prefab.cpp:61:65: error: no match for ‘operator=’ (operand types are ‘DeprecatedAndRemoved’ and ‘sofa::core::objectmodel::ComponentState’)
     m_componentstate = sofa::core::objectmodel::ComponentState::Valid;
                                                                 ^~~~~
In file included from /opt/sofa/include/SofaFramework/sofa/core/objectmodel/BaseContext.h:25:0,
                 from /opt/sofa/include/SofaFramework/sofa/core/objectmodel/BaseObject.h:25,
                 from /opt/sofa/include/SofaFramework/sofa/core/objectmodel/Context.h:25,
                 from /opt/sofa/include/SofaFramework/sofa/simulation/Node.h:28,
                 from /opt/sofa/include/SofaSimulation/SofaSimulationGraph/DAGNode.h:26,
                 from Plugin/src/SofaPython3/Prefab.h:2,
                 from Plugin/src/SofaPython3/Prefab.cpp:1:
/opt/sofa/include/SofaFramework/sofa/core/objectmodel/Base.h:102:7: note: candidate: constexpr DeprecatedAndRemoved& DeprecatedAndRemoved::operator=(const DeprecatedAndRemoved&)
 class DeprecatedAndRemoved {};
       ^~~~~~~~~~~~~~~~~~~~
/opt/sofa/include/SofaFramework/sofa/core/objectmodel/Base.h:102:7: note:   no known conversion for argument 1 from ‘sofa::core::objectmodel::ComponentState’ to ‘const DeprecatedAndRemoved&’
/opt/sofa/include/SofaFramework/sofa/core/objectmodel/Base.h:102:7: note: candidate: constexpr DeprecatedAndRemoved& DeprecatedAndRemoved::operator=(DeprecatedAndRemoved&&)
/opt/sofa/include/SofaFramework/sofa/core/objectmodel/Base.h:102:7: note:   no known conversion for argument 1 from ‘sofa::core::objectmodel::ComponentState’ to ‘DeprecatedAndRemoved&&’

Yes, I know, I'll fix it ASAP ;)

@marques-bruno
Copy link
Member Author

@jnbrunet #38

@jnbrunet
Copy link
Contributor

jnbrunet commented Aug 4, 2020

You will have to rebase your branch to sp3/master to get your #38 fix for the CI

@marques-bruno
Copy link
Member Author

You will have to rebase your branch to sp3/master to get your #38 fix for the CI

oh I thought master was automatically rebased on PRs

@jnbrunet
Copy link
Contributor

jnbrunet commented Aug 4, 2020

You will have to rebase your branch to sp3/master to get your #38 fix for the CI

oh I thought master was automatically rebased on PRs

This should in theory be a one line changes to the github workflow file ^^

@marques-bruno marques-bruno merged commit 83ee817 into master Aug 5, 2020
@marques-bruno marques-bruno deleted the fix_debug_build branch September 10, 2020 13:41
@guparan guparan added this to the v20.12 milestone Oct 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants