1
0
Fork 0
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:
Tom Poole 2021-06-25 09:07:33 +01:00
parent 78be43888e
commit d3b279d0e8

View file

@ -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
}