behdad / box2d

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

GCC 4.3 build problems #125

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Compile Box2D revision 103 with GCC 4.3.

The new gcc version requires more careful #include directives. See details
http://www.cyrius.com/journal/2007/05/10#gcc-4.3-include

In order to compile Box2D i had to include cstring in
Box2D/Box2D/Dynamics/b2ContactManager.cpp and Box2D/Box2D/Dynamics/b2World.cpp 

Original issue reported on code.google.com by dimazest on 27 Apr 2010 at 6:44

Attachments:

GoogleCodeExporter commented 9 years ago
The change you want to make is actually adding #include <cstring> in
Common/b2GrowableStack.h.

Original comment by franticf...@gmail.com on 3 May 2010 at 10:43

GoogleCodeExporter commented 9 years ago
Damn, saw this issue to late. My patch is in issue 145.

Original comment by majewsky...@googlemail.com on 28 Jul 2010 at 4:22

GoogleCodeExporter commented 9 years ago
Issue 145 has been merged into this issue.

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

GoogleCodeExporter commented 9 years ago

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