behdad / box2d

Automatically exported from code.google.com/p/box2d
2 stars 12 forks source link

memcpy not declared #141

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Building Box2D with gcc 4.1 on Debian 4

What is the expected output? What do you see instead?
Building fails in a few places where <cstring> isn't included and memcpy is 
used.

What version of the product are you using?
Latest svn trunk.

Please provide any additional information below.
I've added #include <cstring> to "Common/b2GrowableStack.h" and 
"Collision/Shapes/b2LoopShape.cpp" and it builds without complains.

Original issue reported on code.google.com by fcoelh...@gmail.com on 8 Jul 2010 at 7:01

GoogleCodeExporter commented 9 years ago

Original comment by erinca...@gmail.com on 16 Aug 2010 at 6:16