mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Disable some warnings in the VST and AAX SDK for VS2015
This commit is contained in:
parent
86c9597d41
commit
155ab812a4
2 changed files with 18 additions and 0 deletions
9
modules/juce_audio_plugin_client/AAX/juce_AAX_Wrapper.cpp
Normal file → Executable file
9
modules/juce_audio_plugin_client/AAX/juce_AAX_Wrapper.cpp
Normal file → Executable file
|
|
@ -45,6 +45,11 @@
|
|||
#pragma clang diagnostic ignored "-Wsign-conversion"
|
||||
#endif
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning (push)
|
||||
#pragma warning (disable : 4127)
|
||||
#endif
|
||||
|
||||
#include "AAX_Exports.cpp"
|
||||
#include "AAX_ICollection.h"
|
||||
#include "AAX_IComponentDescriptor.h"
|
||||
|
|
@ -63,6 +68,10 @@
|
|||
#include "AAX_UtilsNative.h"
|
||||
#include "AAX_Enums.h"
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning (pop)
|
||||
#endif
|
||||
|
||||
#ifdef __clang__
|
||||
#pragma clang diagnostic pop
|
||||
#endif
|
||||
|
|
|
|||
9
modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp
Normal file → Executable file
9
modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp
Normal file → Executable file
|
|
@ -69,6 +69,11 @@
|
|||
#pragma clang diagnostic ignored "-Wnon-virtual-dtor"
|
||||
#endif
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning (push)
|
||||
#pragma warning (disable : 4458)
|
||||
#endif
|
||||
|
||||
/* These files come with the Steinberg VST SDK - to get them, you'll need to
|
||||
visit the Steinberg website and agree to whatever is currently required to
|
||||
get them. The best version to get is the VST3 SDK, which also contains
|
||||
|
|
@ -96,6 +101,10 @@
|
|||
namespace juce { extern Steinberg::FUID getJuceVST3ComponentIID(); }
|
||||
#endif
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning (pop)
|
||||
#endif
|
||||
|
||||
#ifdef __clang__
|
||||
#pragma clang diagnostic pop
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue