Ephysics: get rid of shadow warnings

Get rid of -Wshadow warnings on bullet's C++ "shadowed" variables.


SVN revision: 82136
This commit is contained in:
Leandro Dorileo 2013-01-04 01:21:07 +00:00
parent 6b254942f1
commit f97e2750e4
2 changed files with 7 additions and 0 deletions

View File

@ -4,9 +4,15 @@
#include <Evas.h>
#include <Ecore.h>
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wshadow"
#include <BulletCollision/CollisionShapes/btShapeHull.h>
#include <LinearMath/btGeometryUtil.h>
#pragma GCC diagnostic pop
#include <math.h>
#include "ephysics_private.h"

View File

@ -7,6 +7,7 @@
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wshadow"
#include <BulletSoftBody/btSoftBodyRigidBodyCollisionConfiguration.h>
#include <BulletSoftBody/btDefaultSoftBodySolver.h>