summaryrefslogtreecommitdiff
path: root/src/lib/ephysics
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2014-01-09 11:45:39 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2014-01-09 11:49:29 +0900
commitbc1a8ffb5def79f600de373efecd1cb6277805d8 (patch)
treee3edb2d2849ac669a6677bdb8fc6abba04070b24 /src/lib/ephysics
parent3ceaaa0c7927775a80588a0e2323e1004bd6b0cc (diff)
Ephysics: Silence more warnings from libbullet
The bullet library generates tons of warnings: 1. -Wunused-variable 2. -Wunused-parameter 3. -Wshadow 2 and 3 were properly ignored by pragma GCC, but unused-variable doesn't seem to work. At least on my version of GCC (4.8.2). So, let's ignore ALL warnings from libbullet includes.
Diffstat (limited to 'src/lib/ephysics')
-rw-r--r--src/lib/ephysics/ephysics_private.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/ephysics/ephysics_private.h b/src/lib/ephysics/ephysics_private.h
index 6b594d9..e8aeb20 100644
--- a/src/lib/ephysics/ephysics_private.h
+++ b/src/lib/ephysics/ephysics_private.h
@@ -6,8 +6,7 @@
6#endif 6#endif
7 7
8#pragma GCC diagnostic push 8#pragma GCC diagnostic push
9#pragma GCC diagnostic ignored "-Wunused-parameter" 9#pragma GCC system_header
10#pragma GCC diagnostic ignored "-Wshadow"
11 10
12#include <BulletSoftBody/btSoftBodyRigidBodyCollisionConfiguration.h> 11#include <BulletSoftBody/btSoftBodyRigidBodyCollisionConfiguration.h>
13#include <BulletSoftBody/btDefaultSoftBodySolver.h> 12#include <BulletSoftBody/btDefaultSoftBodySolver.h>