yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #02529
[Bug 493470] Re: r1862 error during compilation
(The warning about deprecation of boundingVolume and interactingGeometry
is Ok. Is is a reference to Body::bound and Body::shape (new names), to
not break old code, but the references have to be initialized somewhere,
whence the warning. I will remove it soon, it was in case someonw would
be porting older code.)
--
r1862 error during compilation
https://bugs.launchpad.net/bugs/493470
You received this bug notification because you are a member of Yade
developers, which is subscribed to Yade.
Status in Yet Another Dynamic Engine: Fix Released
Bug description:
r1862:
/home/gladk/dem/yade/currentMono/yade/pkg/dem/meta/Shop.cpp:440: error: 'InteractionDispatchers' was not declared in this scope
/home/gladk/dem/yade/currentMono/yade/pkg/dem/meta/Shop.cpp:440: error: expected type-specifier before 'InteractionDispatchers'
/home/gladk/dem/yade/currentMono/yade/pkg/dem/meta/Shop.cpp:440: error: expected '>' before 'InteractionDispatchers'
/home/gladk/dem/yade/currentMono/yade/pkg/dem/meta/Shop.cpp:440: error: expected '(' before 'InteractionDispatchers'
/home/gladk/dem/yade/currentMono/yade/pkg/dem/meta/Shop.cpp:440: error: expected primary-expression before '>' token
/home/gladk/dem/yade/currentMono/yade/pkg/dem/meta/Shop.cpp:441: error: 'id' was not declared in this scope
scons: *** [/home/gladk/dem/yade/currentMono/build-currentMono/packages3.os] Error 1
Also there is a warning:
In file included from /home/gladk/dem/yade/currentMono/build-currentMono/core/core.cpp:1:
/home/gladk/dem/yade/currentMono/yade/core/Body.cpp: In constructor 'Body::Body()':
/home/gladk/dem/yade/currentMono/yade/core/Body.cpp:28: warning: 'Body::interactingGeometry' is deprecated (declared at /home/gladk/dem/yade/currentMono/yade/core/Body.hpp:95)
/home/gladk/dem/yade/currentMono/yade/core/Body.cpp:28: warning: 'Body::boundingVolume' is deprecated (declared at /home/gladk/dem/yade/currentMono/yade/core/Body.hpp:96)
/home/gladk/dem/yade/currentMono/yade/core/Body.cpp: In constructor 'Body::Body(body_id_t, int)':
/home/gladk/dem/yade/currentMono/yade/core/Body.cpp:29: warning: 'Body::interactingGeometry' is deprecated (declared at /home/gladk/dem/yade/currentMono/yade/core/Body.hpp:95)
/home/gladk/dem/yade/currentMono/yade/core/Body.cpp:29: warning: 'Body::boundingVolume' is deprecated (declared at /home/gladk/dem/yade/currentMono/yade/core/Body.hpp:96)
References