Browse Source

Box2D: Suppressed some build warnings

tags/2021-05-28
tpoole 8 years ago
parent
commit
0ab7d3d9c3
1 changed files with 10 additions and 0 deletions
  1. +10
    -0
      modules/juce_box2d/juce_box2d.cpp

+ 10
- 0
modules/juce_box2d/juce_box2d.cpp View File

@@ -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…
Cancel
Save