behdad / box2d

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

GCC Compiler Warnings #206

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Compile Box2d with gcc 4.4.3 in Ubuntu.

Two unused variables warnings:

In b2ContactSolver.cpp line 52:
float32 C = lengthA + ratio * lengthB

In b2ContactSolver.cpp line 130:
b2ManifoldPoint* cp = manifold->points + j;

There are some other warnings about signed/unsigned comparisons (not a big 
deal), but otherwise compiles fine with gcc :D

Original issue reported on code.google.com by kiaranri...@gmail.com on 28 May 2011 at 8:26

GoogleCodeExporter commented 9 years ago
These issues don't exist in SVN.

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