behdad / box2d

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

GCC error and compiler warnings (patch included) #209

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I just wanted to send in the patch made to cleanup some of the warnings and a 
build error I got on my system.

Target: x86_64-pc-linux-gnu
Thread model: posix
gcc version 4.4.5 (Gentoo 4.4.5 p1.2, pie-0.4.5) 

Changes are relatively safe and non intrusive, the error I encountered was 
caused by the following line:

-#elif B2_USE_BRUTE_FORCE
+#elif B2_USE_BRUTE_FORCE 0

Full patch attached,
Cheers.

Original issue reported on code.google.com by g...@maral.me on 22 Jun 2011 at 7:14

Attachments:

GoogleCodeExporter commented 9 years ago
Opps, sorry uploaded wrong diff file.

+#elif B2_USE_BRUTE_FORCE 0
-#elif B2_USE_BRUTE_FORCE

Original comment by g...@maral.me on 22 Jun 2011 at 7:17

Attachments:

GoogleCodeExporter commented 9 years ago
Rev 188.

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