1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Box2D: Suppressed some build warnings

This commit is contained in:
tpoole 2017-07-07 12:28:58 +01:00
parent 20d0b3775f
commit 0ab7d3d9c3

View file

@ -33,6 +33,12 @@
#error "Incorrect use of JUCE cpp file" #error "Incorrect use of JUCE cpp file"
#endif #endif
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wsign-conversion"
#pragma clang diagnostic ignored "-Wfloat-conversion"
#endif
#include "juce_box2d.h" #include "juce_box2d.h"
#include "box2d/Collision/b2BroadPhase.cpp" #include "box2d/Collision/b2BroadPhase.cpp"
@ -85,3 +91,7 @@ namespace juce
{ {
#include "utils/juce_Box2DRenderer.cpp" #include "utils/juce_Box2DRenderer.cpp"
} }
#if JUCE_CLANG
#pragma clang diagnostic pop
#endif