2 compiling errors on linux (SVN version)

Hi erin,

When i try to compile the latest svn(revision 100) using gcc i get a 2 (easy to fix) errors i just though i should point them out.

First of all in b2Shape.cpp you include "../b2Broadphase.h" wich results in an error. i changed it to "../b2BroadPhase.h"
Also in b2WorldCallbacks.cpp on line nr 118 you say b2DebugDraw::b2DebugDraw(); wich i had to change to b2DebugDraw();

Apart from that Box2D is perfect : )

greets bob
Fixed. Thanks!
I forgot one more in b2Math.h at line 30 you say.

Code:
#ifdef __APPLE__
   return finite(x) != 0;
#else
   return _finite(x) != 0;
#endif


and it gives me
Quote:
‘_finite’ was not declared in this scope

Just finite does work on linux : ).

Also (i think this was already posted) 2 warnings in the b2InvSqrt function at line 40 and 42.
Quote:
dereferencing type-punned pointer will break strict-aliasing rules



that really was it 😛

greets bob
These should be fixed. I hope Linux likes the union trick.
It works : )

Could you also put a newline at the end of b2BroadPhase.h and b2PairManager.h
With some settings i get warnings on that too.

And that was really it : ). (i think)

Greets bob

Original thread: https://box2d.org/forum/viewtopic.php?t=366