We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I applied the patch from issue 110 but now get the below error...
[ 21%] Building CXX object Box2D/CMakeFiles/Box2D.dir/Collision/b2DynamicTree.cpp.o /home/rcook/data/downloads/debian/liquidfun-1.1.0/liquidfun/Box2D/Box2D/Collision/b2DynamicTree.cpp: In constructor ‘b2DynamicTree::b2DynamicTree()’: /home/rcook/data/downloads/debian/liquidfun-1.1.0/liquidfun/Box2D/Box2D/Collision/b2DynamicTree.cpp:31:15: error: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct b2TreeNode’; use assignment or value-initialization instead [-Werror=class-memaccess] 31 | memset(m_nodes, 0, m_nodeCapacity * sizeof(b2TreeNode)); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/rcook/data/downloads/debian/liquidfun-1.1.0/liquidfun/Box2D/Box2D/Collision/b2DynamicTree.cpp:20: /home/rcook/data/downloads/debian/liquidfun-1.1.0/liquidfun/Box2D/Box2D/../Box2D/Collision/b2DynamicTree.h:28:8: note: ‘struct b2TreeNode’ declared here 28 | struct b2TreeNode | ^~~~~~~~~~ cc1plus: all warnings being treated as errors make[2]: *** [Box2D/CMakeFiles/Box2D.dir/build.make:720: Box2D/CMakeFiles/Box2D.dir/Collision/b2DynamicTree.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:234: Box2D/CMakeFiles/Box2D.dir/all] Error 2 make: *** [Makefile:136: all] Error 2
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I applied the patch from issue 110 but now get the below error...
[ 21%] Building CXX object Box2D/CMakeFiles/Box2D.dir/Collision/b2DynamicTree.cpp.o
/home/rcook/data/downloads/debian/liquidfun-1.1.0/liquidfun/Box2D/Box2D/Collision/b2DynamicTree.cpp: In constructor ‘b2DynamicTree::b2DynamicTree()’:
/home/rcook/data/downloads/debian/liquidfun-1.1.0/liquidfun/Box2D/Box2D/Collision/b2DynamicTree.cpp:31:15: error: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct b2TreeNode’; use assignment or value-initialization instead [-Werror=class-memaccess]
31 | memset(m_nodes, 0, m_nodeCapacity * sizeof(b2TreeNode));
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/rcook/data/downloads/debian/liquidfun-1.1.0/liquidfun/Box2D/Box2D/Collision/b2DynamicTree.cpp:20:
/home/rcook/data/downloads/debian/liquidfun-1.1.0/liquidfun/Box2D/Box2D/../Box2D/Collision/b2DynamicTree.h:28:8: note: ‘struct b2TreeNode’ declared here
28 | struct b2TreeNode
| ^~~~~~~~~~
cc1plus: all warnings being treated as errors
make[2]: *** [Box2D/CMakeFiles/Box2D.dir/build.make:720: Box2D/CMakeFiles/Box2D.dir/Collision/b2DynamicTree.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:234: Box2D/CMakeFiles/Box2D.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
The text was updated successfully, but these errors were encountered: