kne / pybox2d-from-googlecode

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

Fails to build with error: missing binary operator before token "0" #39

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.python setup.py build on a Fedora 14 (64 bits system)

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.

Original issue reported on code.google.com by lamego.p...@gmail.com on 30 Mar 2011 at 12:49

GoogleCodeExporter commented 9 years ago
Fixed in r327, and notified Box2D project of the issue. Thanks.

Original comment by sir...@gmail.com on 30 Mar 2011 at 1:46