forked from enlightenment/efl
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:
parent
6b254942f1
commit
f97e2750e4
|
@ -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"
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue