mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Warnings: Add warning-wrangling header
This commit is contained in:
parent
175644e8c1
commit
5f348c3040
93 changed files with 581 additions and 903 deletions
|
|
@ -84,15 +84,13 @@
|
|||
#include <windows.devices.midi.h>
|
||||
#include <windows.devices.enumeration.h>
|
||||
|
||||
#pragma warning (push)
|
||||
#pragma warning (disable: 4265)
|
||||
JUCE_BEGIN_IGNORE_WARNINGS_MSVC (4265)
|
||||
#include <wrl/event.h>
|
||||
#pragma warning (pop)
|
||||
JUCE_END_IGNORE_WARNINGS_MSVC
|
||||
|
||||
#pragma warning (push)
|
||||
#pragma warning (disable: 4467)
|
||||
JUCE_BEGIN_IGNORE_WARNINGS_MSVC (4467)
|
||||
#include <robuffer.h>
|
||||
#pragma warning (pop)
|
||||
JUCE_END_IGNORE_WARNINGS_MSVC
|
||||
#endif
|
||||
|
||||
#if JUCE_ASIO
|
||||
|
|
@ -169,10 +167,9 @@
|
|||
#error "Oboe cannot be enabled at the same time as openSL! Please disable JUCE_USE_ANDROID_OPENSLES"
|
||||
#endif
|
||||
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wunused-parameter"
|
||||
JUCE_BEGIN_IGNORE_WARNINGS_GCC_LIKE ("-Wunused-parameter")
|
||||
#include <oboe/Oboe.h>
|
||||
#pragma clang diagnostic pop
|
||||
JUCE_END_IGNORE_WARNINGS_GCC_LIKE
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue