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:
parent
20d0b3775f
commit
0ab7d3d9c3
1 changed files with 10 additions and 0 deletions
|
|
@ -33,6 +33,12 @@
|
|||
#error "Incorrect use of JUCE cpp file"
|
||||
#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 "box2d/Collision/b2BroadPhase.cpp"
|
||||
|
|
@ -85,3 +91,7 @@ namespace juce
|
|||
{
|
||||
#include "utils/juce_Box2DRenderer.cpp"
|
||||
}
|
||||
|
||||
#if JUCE_CLANG
|
||||
#pragma clang diagnostic pop
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue