aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/ephysics/src/lib
diff options
context:
space:
mode:
authorLeandro Dorileo <dorileo@profusion.mobi>2012-12-05 13:50:39 +0000
committerLeandro Dorileo <dorileo@profusion.mobi>2012-12-05 13:50:39 +0000
commit3604cc2f4f4ebda49d2f4a87cb4f0ff6d92e8f88 (patch)
treeedf9ce1993af84f1864a2d72cb90e27069362879 /legacy/ephysics/src/lib
parent2975811327284574f1526f00dfdb0a28ff197d31 (diff)
downloadefl-3604cc2f4f4ebda49d2f4a87cb4f0ff6d92e8f88.tar.gz
efl-3604cc2f4f4ebda49d2f4a87cb4f0ff6d92e8f88.tar.xz
efl-3604cc2f4f4ebda49d2f4a87cb4f0ff6d92e8f88.zip
EPhysics: avoid unused parameter warnings
Avoid *unused parameter* warnings on bullet API due to virtual functions. --This line, and those below, will be ignored-- SVN revision: 80251
Diffstat (limited to 'legacy/ephysics/src/lib')
-rw-r--r--legacy/ephysics/src/lib/ephysics_private.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/legacy/ephysics/src/lib/ephysics_private.h b/legacy/ephysics/src/lib/ephysics_private.h
index 4acb00207..3e7050b48 100644
--- a/legacy/ephysics/src/lib/ephysics_private.h
+++ b/legacy/ephysics/src/lib/ephysics_private.h
@@ -5,11 +5,17 @@
# include <Evil.h>
#endif
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wunused-parameter"
+
#include <BulletSoftBody/btSoftBodyRigidBodyCollisionConfiguration.h>
#include <BulletSoftBody/btDefaultSoftBodySolver.h>
#include <BulletSoftBody/btSoftRigidDynamicsWorld.h>
#include <BulletSoftBody/btSoftBodyHelpers.h>
#include <btBulletDynamicsCommon.h>
+
+#pragma GCC diagnostic pop
+
#include "EPhysics.h"
#ifdef EPHYSICS_LOG_COLOR