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

Workarounds for some new "recommended" Xcode warning flags

This commit is contained in:
jules 2017-05-02 17:12:20 +01:00
parent f183a506ef
commit baddc6389e
5 changed files with 48 additions and 9 deletions

View file

@ -200,12 +200,21 @@ private:
//==============================================================================
#if JUCE_MAC || JUCE_IOS
#if JUCE_CLANG
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wundeclared-selector"
#endif
#if JUCE_MAC
#include "native/juce_OpenGL_osx.h"
#else
#include "native/juce_OpenGL_ios.h"
#endif
#if JUCE_CLANG
#pragma clang diagnostic pop
#endif
#elif JUCE_WINDOWS
#include "native/juce_OpenGL_win32.h"