mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Silence some compiler warnings in third party headers
This commit is contained in:
parent
78be43888e
commit
d3b279d0e8
1 changed files with 7 additions and 0 deletions
|
|
@ -61,14 +61,20 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
JUCE_BEGIN_IGNORE_WARNINGS_GCC_LIKE ("-Wshadow-field-in-constructor",
|
||||
"-Wnon-virtual-dtor")
|
||||
|
||||
#include <pluginterfaces/base/ftypes.h>
|
||||
#include <pluginterfaces/base/funknown.h>
|
||||
#include <pluginterfaces/vst/ivsthostapplication.h>
|
||||
|
||||
JUCE_END_IGNORE_WARNINGS_GCC_LIKE
|
||||
|
||||
namespace reaper
|
||||
{
|
||||
JUCE_BEGIN_IGNORE_WARNINGS_GCC_LIKE ("-Wzero-as-null-pointer-constant",
|
||||
"-Wunused-parameter")
|
||||
JUCE_BEGIN_IGNORE_WARNINGS_MSVC (4100)
|
||||
|
||||
using namespace Steinberg;
|
||||
using INT_PTR = pointer_sized_int;
|
||||
|
|
@ -85,6 +91,7 @@ namespace reaper
|
|||
DEF_CLASS_IID (IReaperHostApplication)
|
||||
DEF_CLASS_IID (IReaperUIEmbedInterface)
|
||||
|
||||
JUCE_END_IGNORE_WARNINGS_MSVC
|
||||
JUCE_END_IGNORE_WARNINGS_GCC_LIKE
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue