Browse Source

Disable some warnings in the VST and AAX SDK for VS2015

tags/2021-05-28
hogliux 9 years ago
parent
commit
155ab812a4
2 changed files with 18 additions and 0 deletions
  1. +9
    -0
      modules/juce_audio_plugin_client/AAX/juce_AAX_Wrapper.cpp
  2. +9
    -0
      modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp

+ 9
- 0
modules/juce_audio_plugin_client/AAX/juce_AAX_Wrapper.cpp View 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
- 0
modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp View 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…
Cancel
Save