yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #04751
[Bug 589516] [NEW] r2274 trunk is broken
Public bug reported:
Hi, Jerome,
please, fix it:
from /home/anton/dem/yade/current/build-current/plugins25.cpp:1:
/usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor 'boost::shared_ptr< <template-parameter-1-1> >::shared_ptr(const boost::shared_ptr<Y>&, boost::detail::static_cast_tag) [with Y = Engine, T = Law2_ScGeom_NormalInelasticityPhys_NormalInelasticity]':
/usr/include/boost/smart_ptr/shared_ptr.hpp:512: instantiated from 'boost::shared_ptr<X> boost::static_pointer_cast(const boost::shared_ptr<U>&) [with T = Law2_ScGeom_NormalInelasticityPhys_NormalInelasticity, U = Engine]'
/home/anton/dem/yade/current/yade/pkg/dem/Engine/PartialEngine/KinemCNSEngine.cpp:137: instantiated from here
/usr/include/boost/smart_ptr/shared_ptr.hpp:249: error: invalid static_cast from type 'Engine* const' to type 'Law2_ScGeom_NormalInelasticityPhys_NormalInelasticity*'
scons: *** [/home/anton/dem/yade/current/build-current/plugins25.os] Error 1
scons: building terminated because of errors.
Thank you
** Affects: yade
Importance: Undecided
Assignee: jduriez (jduriez)
Status: New
** Changed in: yade
Assignee: (unassigned) => jduriez (jduriez)
--
r2274 trunk is broken
https://bugs.launchpad.net/bugs/589516
You received this bug notification because you are a member of Yade
developers, which is subscribed to Yade.
Status in Yet Another Dynamic Engine: New
Bug description:
Hi, Jerome,
please, fix it:
from /home/anton/dem/yade/current/build-current/plugins25.cpp:1:
/usr/include/boost/smart_ptr/shared_ptr.hpp: In constructor 'boost::shared_ptr< <template-parameter-1-1> >::shared_ptr(const boost::shared_ptr<Y>&, boost::detail::static_cast_tag) [with Y = Engine, T = Law2_ScGeom_NormalInelasticityPhys_NormalInelasticity]':
/usr/include/boost/smart_ptr/shared_ptr.hpp:512: instantiated from 'boost::shared_ptr<X> boost::static_pointer_cast(const boost::shared_ptr<U>&) [with T = Law2_ScGeom_NormalInelasticityPhys_NormalInelasticity, U = Engine]'
/home/anton/dem/yade/current/yade/pkg/dem/Engine/PartialEngine/KinemCNSEngine.cpp:137: instantiated from here
/usr/include/boost/smart_ptr/shared_ptr.hpp:249: error: invalid static_cast from type 'Engine* const' to type 'Law2_ScGeom_NormalInelasticityPhys_NormalInelasticity*'
scons: *** [/home/anton/dem/yade/current/build-current/plugins25.os] Error 1
scons: building terminated because of errors.
Thank you
Follow ups
References