Browse Source

VST3: Remove noisy warnings from VST3 SDK

v6.1.6
reuk 4 years ago
parent
commit
972c45a76e
No known key found for this signature in database GPG Key ID: 9ADCD339CFC98A11
2 changed files with 6 additions and 6 deletions
  1. +6
    -0
      modules/juce_audio_processors/format_types/VST3_SDK/JUCE_README.md
  2. +0
    -6
      modules/juce_audio_processors/format_types/VST3_SDK/base/source/fstring.cpp

+ 6
- 0
modules/juce_audio_processors/format_types/VST3_SDK/JUCE_README.md View File

@@ -0,0 +1,6 @@
This list details modifications made to the VST3 SDK in order to facilitate
inclusion in JUCE.

- `#warning` directives were removed from fstring.cpp, as these cannot be
silenced with a `pragma GCC diagnostic ignored "-Wcpp"` when building with
g++.

+ 0
- 6
modules/juce_audio_processors/format_types/VST3_SDK/base/source/fstring.cpp View File

@@ -288,7 +288,6 @@ static inline int strnicmp16 (const Steinberg::char16* s1, const Steinberg::char
//-----------------------------------------------------------------------------
static inline int sprintf16 (Steinberg::char16* wcs, const Steinberg::char16* format, ...)
{
#warning DEPRECATED No Linux implementation
assert(false && "DEPRECATED No Linux implementation");
return 0;
}
@@ -312,7 +311,6 @@ static inline int vsnwprintf (Steinberg::char16* wcs, size_t maxlen,
//-----------------------------------------------------------------------------
static inline Steinberg::char16* strrchr16 (const Steinberg::char16* str, Steinberg::char16 c)
{
#warning DEPRECATED No Linux implementation
assert(false && "DEPRECATED No Linux implementation");
return nullptr;
}
@@ -1587,7 +1585,6 @@ char16 ConstString::toLower (char16 c)
}
return c;
#elif SMTG_OS_LINUX
#warning DEPRECATED No Linux implementation
assert(false && "DEPRECATED No Linux implementation");
return c;
#else
@@ -1616,7 +1613,6 @@ char16 ConstString::toUpper (char16 c)
}
return c;
#elif SMTG_OS_LINUX
#warning DEPRECATED No Linux implementation
assert(false && "DEPRECATED No Linux implementation");
return c;
#else
@@ -1915,7 +1911,6 @@ int32 ConstString::multiByteToWideString (char16* dest, const char8* source, int
}
else
{
#warning DEPRECATED No Linux implementation
assert(false && "DEPRECATED No Linux implementation");
}

@@ -1996,7 +1991,6 @@ int32 ConstString::wideStringToMultiByte (char8* dest, const char16* wideString,
}
else
{
#warning DEPRECATED No Linux implementation
assert(false && "DEPRECATED No Linux implementation");
}
return result;


Loading…
Cancel
Save