2.75 (1756) warnings

Zenja
Posts: 14
Joined: Fri Jul 10, 2009 4:48 am

2.75 (1756) warnings

Post by Zenja »

Building bullet 2.75 for iPhone (3.1) has the following 6 warnings. Hey, we're converging in the right direction :)

1) BulletCollision/CollsisionShapes/btMultimaterialTriangleMeshShape.cpp line 40, unused variable m_triangle
2) BulletCollision/CollsisionShapes/btMultimaterialTriangleMeshShape.cpp line 74. unused variable m_triangle
3) BulletSoftBody/btSoftBody.cpp line 2328, unused variable f0
4) LinearMath/btHashMap.h, line 21 "This decimal constant is unsigned only in ISO C90"
5) LinearMath/btHashMap.h line 174 unused variable value
6) LinearMath/btHashMap.h line 175, unused variable key

Cheers.
sparkprime
Posts: 508
Joined: Fri May 30, 2008 2:51 am
Location: Ossining, New York

Re: 2.75 (1756) warnings

Post by sparkprime »

Erwin has been fairly good about fixing warnings in the past, but then each new release brings a whole load of new warnings.
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA

Re: 2.75 (1756) warnings

Post by Erwin Coumans »

Where is the m_triangle in line 40 or 74 of btMultimaterialTriangleMeshShape? Can't find them here:

http://code.google.com/p/bullet/source/ ... hShape.cpp

Hopefully we get around to fix those other warnings for next release.
Thanks
Erwin
Zenja
Posts: 14
Joined: Fri Jul 10, 2009 4:48 am

Re: 2.75 (1756) warnings

Post by Zenja »

Erwin Coumans wrote:Where is the m_triangle in line 40 or 74 of btMultimaterialTriangleMeshShape? Can't find them
Erwin
My mistake. The two warnings were in the header file (btMultimaterialTriangleMeshShape.h).

Cheers.