free-language / box2d

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

Build fails on Fedora 14 (64-bit): minor #elif change #187

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Build on a Fedora 14 (64 bits system), r174

What is the expected output? What do you see instead?
Fails to build with the following error:
./Box2D/Collision/b2DynamicTree.h:289:26: error: missing binary operator before 
token "0"

Please provide any additional information below.

Edited ./Box2D/Collision/b2DynamicTree.h:289, replaced
#elif B2_USE_BRUTE_FORCE 0
with
#elif B2_USE_BRUTE_FORCE == 0

And it built successfully.

* Please note: this is an issue report from a pybox2d user, I am just relaying 
this information.

Original issue reported on code.google.com by sir...@gmail.com on 30 Mar 2011 at 1:42

GoogleCodeExporter commented 9 years ago
I can confirm this bug, as well as the proper fix.

Original comment by dan...@nystrom.st on 12 Apr 2011 at 8:32

GoogleCodeExporter commented 9 years ago
Rev 188.

Original comment by erinca...@gmail.com on 26 Jun 2011 at 7:00