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:
parent
f183a506ef
commit
baddc6389e
5 changed files with 48 additions and 9 deletions
|
|
@ -111,6 +111,12 @@ namespace juce
|
|||
|
||||
//==============================================================================
|
||||
#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_mac_NSViewComponent.mm"
|
||||
#include "native/juce_mac_AppleRemote.mm"
|
||||
|
|
@ -125,6 +131,10 @@ namespace juce
|
|||
#include "native/juce_mac_WebBrowserComponent.mm"
|
||||
#endif
|
||||
|
||||
#if JUCE_CLANG
|
||||
#pragma clang diagnostic pop
|
||||
#endif
|
||||
|
||||
//==============================================================================
|
||||
#elif JUCE_WINDOWS
|
||||
#include "native/juce_win32_ActiveXComponent.cpp"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue